diff options
Diffstat (limited to 'ports/esp8266/main.c')
-rw-r--r-- | ports/esp8266/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp8266/main.c b/ports/esp8266/main.c index 975262fd1..7e5034b04 100644 --- a/ports/esp8266/main.c +++ b/ports/esp8266/main.c @@ -88,6 +88,7 @@ STATIC void mp_reset(void) { } void soft_reset(void) { + gc_sweep_all(); mp_hal_stdout_tx_str("PYB: soft reboot\r\n"); mp_hal_delay_us(10000); // allow UART to flush output mp_reset(); |