mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
hci: remove init command complete handler for (HCI_INIT_DONE-1)
This commit is contained in:
parent
4f982f3129
commit
eb8d95caa2
@ -2083,14 +2083,9 @@ static void hci_initializing_event_handler(const uint8_t * packet, uint16_t size
|
||||
return;
|
||||
#endif /* ENABLE_SCO_OVER_HCI */
|
||||
|
||||
// avoid compile error due to duplicate cases: HCI_INIT_W4_BCM_WRITE_SCO_PCM_INT == HCI_INIT_DONE-1
|
||||
#if defined(ENABLE_BLE) || defined(ENABLE_LE_DATA_LENGTH_EXTENSION) || defined(ENABLE_LE_CENTRAL)
|
||||
// Response to command before init done state -> init done
|
||||
case (HCI_INIT_DONE-1):
|
||||
hci_stack->substate = HCI_INIT_DONE;
|
||||
return;
|
||||
#endif
|
||||
case HCI_INIT_DONE:
|
||||
// set state if we came here by fall through
|
||||
hci_stack->substate = HCI_INIT_DONE;
|
||||
return;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user