feat(nimble): Added changes in examples to have code under flags

This commit is contained in:
Rahul Tank
2026-03-11 19:12:26 +05:30
parent 506dbc2985
commit 9036880677
20 changed files with 97 additions and 9 deletions
@@ -178,8 +178,12 @@ gatt_svr_init(void)
{
int rc;
#if CONFIG_BT_NIMBLE_GAP_SERVICE
ble_svc_gap_init();
#endif
#if MYNEWT_VAL(BLE_GATTS)
ble_svc_gatt_init();
#endif
rc = ble_gatts_count_cfg(gatt_svr_svcs);
if (rc != 0) {