mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +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;
|
||||
}
|
||||
if ((advertising_set->state & LE_ADVERTISEMENT_STATE_ACTIVE) != 0) {
|
||||
stop_advertismenets = true;
|
||||
stop_advertisements = true;
|
||||
advertising_set->state &= ~LE_ADVERTISEMENT_STATE_ACTIVE;
|
||||
}
|
||||
}
|
||||
#endif /* ENABLE_LE_PERIODIC_ADVERTISING */
|
||||
if (stop_advertismenets){
|
||||
if (stop_advertisements){
|
||||
hci_stack->le_advertisements_state &= ~LE_ADVERTISEMENT_STATE_ACTIVE;
|
||||
hci_send_cmd(&hci_le_set_extended_advertising_enable, 0, 0, NULL, NULL, NULL);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user