diff --git a/extra_scripts/ld_response_file.py b/extra_scripts/ld_response_file.py index 0b91cf862..e79475f19 100644 --- a/extra_scripts/ld_response_file.py +++ b/extra_scripts/ld_response_file.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# trunk-ignore-all(ruff/F821) +# trunk-ignore-all(flake8/F821): For SConstruct imports + # force linker response file instead of command line arguments Import("env") diff --git a/src/nimble/NimbleBluetooth.cpp b/src/nimble/NimbleBluetooth.cpp index 720ebf0f8..6857f9b5d 100644 --- a/src/nimble/NimbleBluetooth.cpp +++ b/src/nimble/NimbleBluetooth.cpp @@ -720,6 +720,8 @@ void NimbleBluetooth::deinit() #ifdef BLE_LED digitalWrite(BLE_LED, LED_STATE_OFF); #endif + + BLEDevice::deinit(true); #endif }