mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-23 18:39:52 +00:00
hci: simplify halting process
This commit is contained in:
parent
c663093b19
commit
f021201aa0
@ -5369,9 +5369,7 @@ static void hci_host_num_completed_packets(void){
|
||||
static void hci_halting_timeout_handler(btstack_timer_source_t * ds){
|
||||
UNUSED(ds);
|
||||
hci_stack->substate = HCI_HALTING_CLOSE;
|
||||
// allow packet handlers to defer final shutdown
|
||||
hci_emit_state();
|
||||
hci_run();
|
||||
hci_halting_run();
|
||||
}
|
||||
|
||||
static bool hci_run_acl_fragments(void){
|
||||
|
Loading…
x
Reference in New Issue
Block a user