fix(nimble): Fix compilation issues in Gatt SPS service

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Rahul Tank
2026-05-26 22:00:39 +05:30
committed by BOT
parent 5967653bdd
commit b5ea25a9d2
3 changed files with 5 additions and 3 deletions

View File

@@ -31,7 +31,8 @@ gatt_svr_init(void)
#if MYNEWT_VAL(BLE_GATTS)
ble_svc_gatt_init();
#endif
#if MYNEWT_VAL(BLE_GATTS) && CONFIG_BT_NIMBLE_RAS_SERVICE
ble_svc_ras_init();
#endif
return 0;
}

View File

@@ -31,7 +31,8 @@ custom_gatt_svr_init(void)
#if MYNEWT_VAL(BLE_GATTS)
ble_svc_gatt_init();
#endif
#if MYNEWT_VAL(BLE_GATTS) && CONFIG_BT_NIMBLE_RAS_SERVICE
ble_svc_ras_init();
#endif
return 0;
}

View File

@@ -123,7 +123,7 @@ gatt_svr_init(void)
#if MYNEWT_VAL(BLE_GATTS)
ble_svc_gatt_init();
#endif
#if CONFIG_BT_NIMBLE_ANS_SERVICE
#if CONFIG_BT_NIMBLE_HTP_SERVICE
ble_svc_htp_init();
#endif