slight delay after setting name
This commit is contained in:
parent
9276ec6994
commit
73f196c32d
1 changed files with 2 additions and 0 deletions
|
@ -431,5 +431,7 @@ void ble_init() {
|
||||||
err = ble_svc_gap_device_name_set(CONFIG_BARBACK_ID);
|
err = ble_svc_gap_device_name_set(CONFIG_BARBACK_ID);
|
||||||
ESP_ERROR_CHECK(err);
|
ESP_ERROR_CHECK(err);
|
||||||
|
|
||||||
|
vTaskDelay(500 / portTICK_PERIOD_MS);
|
||||||
|
|
||||||
nimble_port_freertos_init(nimble_host_task);
|
nimble_port_freertos_init(nimble_host_task);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue