[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
+4 -1
View File
@@ -911,8 +911,11 @@ void eepromBackup()
eepromReadBlock(buffer, i, 1024);
f_write(&file, buffer, 1024, &count);
drawProgressBar(STR_WRITING, i, EEPROM_SIZE);
if (!SIMU_SLEEP(100/*ms*/))
#if defined(SIMU)
// add an artificial delay and check for simu quit
if (SIMU_SLEEP_OR_EXIT_MS(100))
break;
#endif
}
f_close(&file);