mirror of
https://github.com/akuker/RASCSI.git
synced 2024-05-27 17:48:29 +00:00
Remove obsolete daynaport work-around (tested as part of issue #1306)
This commit is contained in:
parent
5715ec1470
commit
ad4586dab8
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user