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) {
|
void common_hal_mcu_reset(void) {
|
||||||
filesystem_flush(); //TODO: implement as part of flash improvements
|
filesystem_flush(); //TODO: implement as part of flash improvements
|
||||||
// NVIC_SystemReset();
|
esp_restart();
|
||||||
while(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// The singleton microcontroller.Processor object, bound to microcontroller.cpu
|
// The singleton microcontroller.Processor object, bound to microcontroller.cpu
|
||||||
|
Loading…
Reference in New Issue
Block a user