[simu] Updates for RTOS abstraction layer; Remove further SIMU_SLEEP usages.
This commit is contained in:
@@ -61,8 +61,11 @@ void bootloaderFlash(const char * filename)
|
||||
flashWrite(CONVERT_UINT_PTR(FIRMWARE_ADDRESS+i+j), (uint32_t *)(buffer+j));
|
||||
}
|
||||
drawProgressBar(STR_WRITING, i, BOOTLOADER_SIZE);
|
||||
if (!SIMU_SLEEP(30/*ms*/))
|
||||
#if defined(SIMU)
|
||||
// add an artificial delay and check for simu quit
|
||||
if (SIMU_SLEEP_OR_EXIT_MS(30))
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (unlocked) {
|
||||
|
||||
Reference in New Issue
Block a user