Skip to content

Commit 21ef9e5

Browse files
authored
Add watchdog reset reason check in start_web_workflow
1 parent 2a4ccc2 commit 21ef9e5

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
@@ -342,6 +342,7 @@ bool supervisor_start_web_workflow(void) {
342342
if (reset_reason != RESET_REASON_POWER_ON &&
343343
reset_reason != RESET_REASON_RESET_PIN &&
344344
reset_reason != RESET_REASON_DEEP_SLEEP_ALARM &&
345+
reset_reason != RESET_REASON_WATCHDOG &&
345346
reset_reason != RESET_REASON_UNKNOWN &&
346347
reset_reason != RESET_REASON_SOFTWARE) {
347348
return false;

0 commit comments

Comments
 (0)