Allow web_workflow to startup after deep sleep alarm wakeup
This commit is contained in:
parent
3e657afbb4
commit
1a5afd485b
@ -261,6 +261,7 @@ void supervisor_start_web_workflow(void) {
|
|||||||
const mcu_reset_reason_t reset_reason = common_hal_mcu_processor_get_reset_reason();
|
const mcu_reset_reason_t reset_reason = common_hal_mcu_processor_get_reset_reason();
|
||||||
if (reset_reason != RESET_REASON_POWER_ON &&
|
if (reset_reason != RESET_REASON_POWER_ON &&
|
||||||
reset_reason != RESET_REASON_RESET_PIN &&
|
reset_reason != RESET_REASON_RESET_PIN &&
|
||||||
|
reset_reason != RESET_REASON_DEEP_SLEEP_ALARM &&
|
||||||
reset_reason != RESET_REASON_UNKNOWN &&
|
reset_reason != RESET_REASON_UNKNOWN &&
|
||||||
reset_reason != RESET_REASON_SOFTWARE) {
|
reset_reason != RESET_REASON_SOFTWARE) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user