mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-04 01:13:40 +00:00
hci: use advertising todo instead of flag
This commit is contained in:
parent
0f54aa8d8b
commit
64f9dabab0
@ -5947,7 +5947,7 @@ static bool hci_run_general_gap_le(void){
|
||||
|
||||
// Phase 3: modify
|
||||
|
||||
if (random_address_change){
|
||||
if (hci_stack->le_advertisements_todo & LE_ADVERTISEMENT_TASKS_SET_ADDRESS){
|
||||
hci_stack->le_advertisements_todo &= ~LE_ADVERTISEMENT_TASKS_SET_ADDRESS;
|
||||
#ifdef ENABLE_LE_EXTENDED_ADVERTISING
|
||||
if (hci_extended_advertising_supported()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user