stm32/main: Peform a clean shutdown of btstack on soft reset.
Not just NimBLE.
This commit is contained in:
parent
8119ec0765
commit
50e44f477b
@ -752,7 +752,7 @@ soft_reset_exit:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
printf("MPY: soft reboot\n");
|
printf("MPY: soft reboot\n");
|
||||||
#if MICROPY_BLUETOOTH_NIMBLE
|
#if MICROPY_PY_BLUETOOTH
|
||||||
mp_bluetooth_deinit();
|
mp_bluetooth_deinit();
|
||||||
#endif
|
#endif
|
||||||
#if MICROPY_PY_NETWORK
|
#if MICROPY_PY_NETWORK
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user