diff options
Diffstat (limited to 'ports/esp32/main.c')
-rw-r--r-- | ports/esp32/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/esp32/main.c b/ports/esp32/main.c index e7290c7eb..acbbfdccc 100644 --- a/ports/esp32/main.c +++ b/ports/esp32/main.c @@ -116,6 +116,8 @@ soft_reset: mp_thread_deinit(); #endif + gc_sweep_all(); + mp_hal_stdout_tx_str("PYB: soft reboot\r\n"); // deinitialise peripherals |