Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR

This commit is contained in:
Henrik Rydgård committed 2020-07-12 15:25:20 +02:00
1 parent 087de849bd
commit efc3f4f5e4
14 files changed
+28 -22

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ struct ThreadEventQueue : public B {
// Don't run if it's not running, but wait for startup.
if (!eventsRunning_) {
if (eventsHaveRun_ || coreState == CORE_ERROR || coreState == CORE_POWERDOWN) {
if (eventsHaveRun_ || coreState == CORE_BOOT_ERROR || coreState == CORE_RUNTIME_ERROR || coreState == CORE_POWERDOWN) {
return false;
}
}