fix(nimble): Added code under correct flags

Code was not under correct flag. Hence if flag is disabled, then
compilation warnings are observed. Fixed the same

Based on PR : https://github.com/espressif/esp-nimble/pull/107
This commit is contained in:
Rahul Tank
2025-07-21 10:40:51 +05:30
parent 3e47acb1e4
commit 9d164c2b1b
+1 -1
View File
@@ -932,7 +932,7 @@ ble_hs_deinit(void)
ble_npl_event_deinit(&ble_hs_ev_reset);
#if NIMBLE_BLE_CONNECT
#if NIMBLE_BLE_CONNECT && MYNEWT_VAL(BLE_GATTS)
ble_npl_event_deinit(&ble_hs_ev_tx_notifications);
ble_gatts_stop();