We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 561e7e6 commit 794d7beCopy full SHA for 794d7be
supervisor/shared/tick.c
@@ -96,7 +96,8 @@ void mp_hal_delay_ms(mp_uint_t delay) {
96
RUN_BACKGROUND_TASKS;
97
// Check to see if we've been CTRL-Ced by autoreload or the user.
98
if(MP_STATE_VM(mp_pending_exception) == MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_kbd_exception)) ||
99
- MP_STATE_VM(mp_pending_exception) == MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_reload_exception))) {
+ MP_STATE_VM(mp_pending_exception) == MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_reload_exception)) ||
100
+ MP_STATE_VM(mp_pending_exception) == MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_watchdog_exception))) {
101
break;
102
}
103
remaining = end_tick - port_get_raw_ticks(NULL);
0 commit comments