Skip to content

Commit beb80e7

Browse files
authored
removed trailing whitespace
1 parent 9978928 commit beb80e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared-module/time/__init__.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ void common_hal_time_delay_ms(uint32_t delay) {
4848
// if the delay was cut short by a CTRL-C then clear the keyboard exception
4949
if(MP_STATE_VM(mp_pending_exception) == MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_kbd_exception)))
5050
{
51-
MP_STATE_VM (mp_pending_exception) = MP_OBJ_NULL;
51+
// clear exception and generate stacktrace
52+
MP_STATE_VM(mp_pending_exception) = MP_OBJ_NULL;
5253
nlr_raise(mp_obj_new_exception(&mp_type_KeyboardInterrupt));
5354
}
5455
}

0 commit comments

Comments
 (0)