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:
parent
87d0757689
commit
fe56b73e07
@ -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()) {}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user