diff options
Diffstat (limited to 'cc3200/mptask.c')
-rw-r--r-- | cc3200/mptask.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cc3200/mptask.c b/cc3200/mptask.c index bd86da2aa4..8697301e18 100644 --- a/cc3200/mptask.c +++ b/cc3200/mptask.c @@ -250,7 +250,10 @@ soft_reset_exit: wlan_stop_servers(); wlan_stop(); - uart_deinit(); + // de-initialize the stdio uart + if (pyb_stdio_uart) { + pyb_uart_deinit(pyb_stdio_uart); + } goto soft_reset; } |