Remove obsolete daynaport work-around (tested as part of issue #1306)

This commit is contained in:
Uwe Seimet 2023-11-07 23:15:58 +01:00
parent 5715ec1470
commit ad4586dab8

View File

@ -266,7 +266,7 @@ int GPIOBUS::ReceiveHandShake(uint8_t *buf, int count)
// Data transmission handshake
//
//---------------------------------------------------------------------------
int GPIOBUS::SendHandShake(uint8_t *buf, int count, int delay_after_bytes)
int GPIOBUS::SendHandShake(uint8_t *buf, int count, int)
{
GPIO_FUNCTION_TRACE
int i;
@ -276,12 +276,6 @@ int GPIOBUS::SendHandShake(uint8_t *buf, int count, int delay_after_bytes)
if (actmode == mode_e::TARGET) {
for (i = 0; i < count; i++) {
if (i == delay_after_bytes) {
spdlog::trace("DELAYING for " + to_string(SCSI_DELAY_SEND_DATA_DAYNAPORT_US) + " after " +
to_string(delay_after_bytes) + " bytes");
SysTimer::SleepUsec(SCSI_DELAY_SEND_DATA_DAYNAPORT_US);
}
// Set the DATA signals
SetDAT(*buf);