mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-24 06:02:43 +00:00
hci: fix typo
This commit is contained in:
parent
c5f5d70624
commit
0aeb0b245e
@ -5611,12 +5611,12 @@ static void hci_halting_run(void) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((advertising_set->state & LE_ADVERTISEMENT_STATE_ACTIVE) != 0) {
|
if ((advertising_set->state & LE_ADVERTISEMENT_STATE_ACTIVE) != 0) {
|
||||||
stop_advertismenets = true;
|
stop_advertisements = true;
|
||||||
advertising_set->state &= ~LE_ADVERTISEMENT_STATE_ACTIVE;
|
advertising_set->state &= ~LE_ADVERTISEMENT_STATE_ACTIVE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* ENABLE_LE_PERIODIC_ADVERTISING */
|
#endif /* ENABLE_LE_PERIODIC_ADVERTISING */
|
||||||
if (stop_advertismenets){
|
if (stop_advertisements){
|
||||||
hci_stack->le_advertisements_state &= ~LE_ADVERTISEMENT_STATE_ACTIVE;
|
hci_stack->le_advertisements_state &= ~LE_ADVERTISEMENT_STATE_ACTIVE;
|
||||||
hci_send_cmd(&hci_le_set_extended_advertising_enable, 0, 0, NULL, NULL, NULL);
|
hci_send_cmd(&hci_le_set_extended_advertising_enable, 0, 0, NULL, NULL, NULL);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user