We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1df0334 + 2f95c94 commit 93fade2Copy full SHA for 93fade2
ports/esp32s2/common-hal/microcontroller/__init__.c
@@ -74,8 +74,7 @@ void common_hal_mcu_on_next_reset(mcu_runmode_t runmode) {
74
75
void common_hal_mcu_reset(void) {
76
filesystem_flush(); //TODO: implement as part of flash improvements
77
- // NVIC_SystemReset();
78
- while(1);
+ esp_restart();
79
}
80
81
// The singleton microcontroller.Processor object, bound to microcontroller.cpu
0 commit comments