Allow web_workflow to startup after deep sleep alarm wakeup

This commit is contained in:
Ted Hess 2023-03-29 15:47:17 -04:00
parent 3e657afbb4
commit 1a5afd485b

View File

@ -261,6 +261,7 @@ void supervisor_start_web_workflow(void) {
const mcu_reset_reason_t reset_reason = common_hal_mcu_processor_get_reset_reason();
if (reset_reason != RESET_REASON_POWER_ON &&
reset_reason != RESET_REASON_RESET_PIN &&
reset_reason != RESET_REASON_DEEP_SLEEP_ALARM &&
reset_reason != RESET_REASON_UNKNOWN &&
reset_reason != RESET_REASON_SOFTWARE) {
return;