fix(nimble): Address compilation issues in nimble examples

This commit is contained in:
Rahul Tank
2025-11-25 10:20:30 +05:30
parent d66ebb86d2
commit 07a9d40a75
34 changed files with 173 additions and 32 deletions
@@ -78,12 +78,14 @@ void app_main(void) {
return;
}
#if CONFIG_BT_NIMBLE_GAP_SERVICE
/* GAP service initialization */
rc = gap_init();
if (rc != 0) {
ESP_LOGE(TAG, "failed to initialize GAP service, error code: %d", rc);
return;
}
#endif
/* NimBLE host configuration initialization */
nimble_host_config_init();