mirror of https://github.com/akuker/RASCSI.git
Do not use the proprietary system timer for the DaynaPort delay work-around
This commit is contained in:
parent
71780449ff
commit
7b8ae25005
|
@ -278,7 +278,9 @@ int GPIOBUS::SendHandShake(uint8_t *buf, int count, int delay_after_bytes)
|
|||
if (i == delay_after_bytes) {
|
||||
spdlog::trace("DELAYING for " + to_string(SCSI_DELAY_SEND_DATA_DAYNAPORT_US) + " us after " +
|
||||
to_string(delay_after_bytes) + " bytes");
|
||||
SysTimer::SleepUsec(SCSI_DELAY_SEND_DATA_DAYNAPORT_US);
|
||||
EnableIRQ();
|
||||
usleep(SCSI_DELAY_SEND_DATA_DAYNAPORT_US);
|
||||
DisableIRQ();
|
||||
}
|
||||
|
||||
// Set the DATA signals
|
||||
|
|
Loading…
Reference in New Issue