diff options
-rw-r--r-- | ports/stm32/main.c | 2 |
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 |