Skip to content

Commit

Permalink
Merge 56d47e9 into caaaa2b
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewleech committed Jul 24, 2020
2 parents caaaa2b + 56d47e9 commit 7235b07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ports/stm32/nimble.c
Expand Up @@ -47,8 +47,11 @@ void mp_bluetooth_hci_poll(void) {
}

mp_bluetooth_nimble_hci_uart_process();

os_callout_process();
os_eventq_run_all();
if (mp_bluetooth_nimble_ble_state == MP_BLUETOOTH_NIMBLE_BLE_STATE_ACTIVE) {
os_eventq_run_all();
}
}

void mp_bluetooth_nimble_port_preinit(void) {
Expand Down

0 comments on commit 7235b07

Please sign in to comment.