mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 04:20:33 +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) {
|
switch (hci_stack->state) {
|
||||||
case HCI_STATE_INITIALIZING:
|
case HCI_STATE_INITIALIZING:
|
||||||
hci_initializing_run();
|
hci_initializing_run();
|
||||||
break;
|
return;
|
||||||
case HCI_STATE_HALTING:
|
case HCI_STATE_HALTING:
|
||||||
hci_halting_run();
|
hci_halting_run();
|
||||||
break;
|
return;
|
||||||
case HCI_STATE_FALLING_ASLEEP:
|
case HCI_STATE_FALLING_ASLEEP:
|
||||||
hci_falling_asleep_run();
|
hci_falling_asleep_run();
|
||||||
break;
|
return;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user