summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2020-04-07 14:59:55 +1000
committerDamien George <damien.p.george@gmail.com>2020-04-29 16:45:46 +1000
commit50e44f477b543e0caaf4abd5d9f7ce61702b863e (patch)
tree3e26c8ab2b33e666509b87faa4e1a6501dbd62a1
parent8119ec07652d6525beba876a29649dfe9e5fd621 (diff)
stm32/main: Peform a clean shutdown of btstack on soft reset.
Not just NimBLE.
-rw-r--r--ports/stm32/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/main.c b/ports/stm32/main.c
index e4f785382..b5dbfa50f 100644
--- a/ports/stm32/main.c
+++ b/ports/stm32/main.c
@@ -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