1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

pkg/nimble: wait for host/ctrl sync during init

This commit is contained in:
Hauke Petersen 2019-03-07 16:19:23 +01:00
parent 87d0757689
commit fe56b73e07

View File

@ -77,4 +77,8 @@ void nimble_riot_init(void)
_host_thread, NULL,
"nimble_host");
#endif
/* make sure synchronization of host and controller is done, this should
* always be the case at this point */
while (!ble_hs_synced()) {}
}