BleGlue: reorder initialization sequence, move core2 start to early stage. (#816)

This commit is contained in:
あく
2021-11-13 05:41:54 +03:00
committed by GitHub
parent 70d0519178
commit b2356c7318
11 changed files with 235 additions and 123 deletions

View File

@@ -374,7 +374,7 @@ static void gap_advetise_timer_callback(void* context) {
}
bool gap_init(BleEventCallback on_event_cb, void* context) {
if (ble_glue_get_status() != BleGlueStatusStarted) {
if (!ble_glue_is_radio_stack_ready()) {
return false;
}