8000 Merge pull request #7814 from thess/deep-sleep-wakeup · megacoder/circuitpython@55c3e9f · GitHub
[go: up one dir, main page]

Skip to content

Commit 55c3e9f

Browse files
authored
Merge pull request adafruit#7814 from thess/deep-sleep-wakeup
Allow web_workflow to startup after deep sleep alarm wakeup
2 parents b014e94 + 1a5afd4 commit 55c3e9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

supervisor/shared/web_workflow/web_workflow.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ void supervisor_start_web_workflow(void) {
261261
const mcu_reset_reason_t reset_reason = common_hal_mcu_processor_get_reset_reason();
262262
if (reset_reason != RESET_REASON_POWER_ON &&
263263
reset_reason != RESET_REASON_RESET_PIN &&
264+
reset_reason != RESET_REASON_DEEP_SLEEP_ALARM &&
264265
reset_reason != RESET_REASON_UNKNOWN &&
265266
reset_reason != RESET_REASON_SOFTWARE) {
266267
return;

0 commit comments

Comments
 (0)
0