stm32/main: Peform a clean shutdown of btstack on soft reset.

Not just NimBLE.
This commit is contained in:
Jim Mussared 2020-04-07 14:59:55 +10:00 committed by Damien George
parent 8119ec0765
commit 50e44f477b

View File

@ -752,7 +752,7 @@ soft_reset_exit:
#endif
printf("MPY: soft reboot\n");
#if MICROPY_BLUETOOTH_NIMBLE
#if MICROPY_PY_BLUETOOTH
mp_bluetooth_deinit();
#endif
#if MICROPY_PY_NETWORK