fix(simu): simulator shutdown (#6196)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
co-authored by
philmoz
parent
36172d7f44
commit
a3e1f1c021
@@ -22,6 +22,7 @@
|
||||
#include "mixer_scheduler.h"
|
||||
#include "tasks/mixer_task.h"
|
||||
#include "hal/usb_driver.h"
|
||||
#include "os/sleep.h"
|
||||
|
||||
#include "dataconstants.h"
|
||||
#include <string.h>
|
||||
@@ -47,7 +48,7 @@ bool mixerSchedulerWaitForTrigger(uint8_t timeoutMs)
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
simuSleep(timeoutMs);
|
||||
sleep_ms(timeoutMs);
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user