[simu] Updates for RTOS abstraction layer; Remove further SIMU_SLEEP usages.

This commit is contained in:
Max Paperno
2018-09-08 22:04:37 -04:00
parent a2006940db
commit 66cd99bf6b
8 changed files with 28 additions and 36 deletions
+2 -2
View File
@@ -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)