Skip to content

Commit

Permalink
espressif: add missing call to board_requests_safe_mode()
Browse files Browse the repository at this point in the history
  • Loading branch information
bootc committed Jan 6, 2025
1 parent aa9ecee commit 5c14052
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/espressif/supervisor/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,10 @@ safe_mode_t port_init(void) {
break;
}

if (board_requests_safe_mode()) {
return SAFE_MODE_USER;
}

return SAFE_MODE_NONE;
}

Expand Down

0 comments on commit 5c14052

Please sign in to comment.