diff --git a/main/ble.c b/main/ble.c index 3a6e8a4..b391fc7 100644 --- a/main/ble.c +++ b/main/ble.c @@ -431,5 +431,7 @@ void ble_init() { err = ble_svc_gap_device_name_set(CONFIG_BARBACK_ID); ESP_ERROR_CHECK(err); + vTaskDelay(500 / portTICK_PERIOD_MS); + nimble_port_freertos_init(nimble_host_task); }