mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
hci: exit main hci_run after running non-working substate
This commit is contained in:
parent
10a9d10518
commit
ff87345bf8
@ -6002,13 +6002,13 @@ static void hci_run(void){
|
||||
switch (hci_stack->state) {
|
||||
case HCI_STATE_INITIALIZING:
|
||||
hci_initializing_run();
|
||||
break;
|
||||
return;
|
||||
case HCI_STATE_HALTING:
|
||||
hci_halting_run();
|
||||
break;
|
||||
return;
|
||||
case HCI_STATE_FALLING_ASLEEP:
|
||||
hci_falling_asleep_run();
|
||||
break;
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user