mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/nimble_ext_adv_v5.0' into 'release/v5.0'
NimBLE: Fixed advertising instance check api in bleprph example (v5.0) See merge request espressif/esp-idf!22752
This commit is contained in:
commit
63983fbdfa
@ -93,8 +93,9 @@ ext_bleprph_advertise(void)
|
||||
int rc;
|
||||
|
||||
/* First check if any instance is already active */
|
||||
if(ble_gap_adv_active())
|
||||
if(ble_gap_ext_adv_active(instance)) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* use defaults for non-set params */
|
||||
memset (¶ms, 0, sizeof(params));
|
||||
|
Loading…
x
Reference in New Issue
Block a user