esp32s2 - update common_hal_mcu_reset

This commit is contained in:
microDev 2020-12-08 18:00:58 +05:30
parent 7250925b98
commit 2f95c94ad8
No known key found for this signature in database
GPG Key ID: 2C0867BE60967730
1 changed files with 1 additions and 2 deletions

View File

@ -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