esp32s2 - update common_hal_mcu_reset
This commit is contained in:
parent
7250925b98
commit
2f95c94ad8
@ -74,8 +74,7 @@ void common_hal_mcu_on_next_reset(mcu_runmode_t runmode) {
|
||||
|
||||
void common_hal_mcu_reset(void) {
|
||||
filesystem_flush(); //TODO: implement as part of flash improvements
|
||||
// NVIC_SystemReset();
|
||||
while(1);
|
||||
esp_restart();
|
||||
}
|
||||
|
||||
// The singleton microcontroller.Processor object, bound to microcontroller.cpu
|
||||
|
Loading…
Reference in New Issue
Block a user