Merge pull request #5270 from pewpew-game/safe-mode-wait
Add a flag to skip waiting for safe mode
This commit is contained in:
commit
80675107cf
@ -66,6 +66,9 @@ safe_mode_t wait_for_safe_mode_reset(void) {
|
||||
reset_reason != RESET_REASON_SOFTWARE) {
|
||||
return NO_SAFE_MODE;
|
||||
}
|
||||
#ifdef CIRCUITPY_SKIP_SAFE_MODE_WAIT
|
||||
return NO_SAFE_MODE;
|
||||
#endif
|
||||
port_set_saved_word(SAFE_MODE_DATA_GUARD | (MANUAL_SAFE_MODE << 8));
|
||||
// Wait for a while to allow for reset.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user