[simu] Updates for RTOS abstraction layer; Remove further SIMU_SLEEP usages.
This commit is contained in:
@@ -63,12 +63,12 @@ uint8_t eepromWriteBuffer[EEPROM_BUFFER_SIZE] __DMA;
|
||||
|
||||
void eepromWaitReadStatus()
|
||||
{
|
||||
while (eepromReadStatus() == 0 && SIMU_SLEEP(5/*ms*/)) { }
|
||||
while (!eepromReadStatus()) { }
|
||||
}
|
||||
|
||||
void eepromWaitTransferComplete()
|
||||
{
|
||||
while (!eepromIsTransferComplete() && SIMU_SLEEP(5/*ms*/)) { }
|
||||
while (!eepromIsTransferComplete()) { }
|
||||
}
|
||||
|
||||
void eepromEraseBlock(uint32_t address, bool blocking=true)
|
||||
|
||||
Reference in New Issue
Block a user