Update safe_mode.c
This commit is contained in:
parent
36da92075b
commit
506bb097f7
|
@ -72,7 +72,7 @@ safe_mode_t wait_for_safe_mode_reset(void) {
|
|||
// Blink on for 100, off for 100, on for 100, off for 100 and on for 200
|
||||
common_hal_digitalio_digitalinout_set_value(&status_led, diff > 100 && diff / 100 != 2 && diff / 100 != 4);
|
||||
#endif
|
||||
#ifdef CIRCUITPY_BOOT_BUTTON
|
||||
#ifdef CIRCUITPY_BOOT_BUTTON
|
||||
if (!common_hal_digitalio_digitalinout_get_value(&boot_button)) {
|
||||
return USER_SAFE_MODE;
|
||||
}
|
||||
|
@ -188,4 +188,4 @@ void print_safe_mode_message(safe_mode_t reason) {
|
|||
break;
|
||||
}
|
||||
serial_write_compressed(FILE_AN_ISSUE);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue