esp-nimble
esp-nimble copied to clipboard
Compilation fails with extended advertising enabled.
Checklist
- [X] Checked the issue tracker for similar issues to ensure this is not a duplicate
- [X] Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- [X] Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
compile without errors
Actual behavior (suspected bug)
Will not compile when extended advertising is enabled.
Error logs or terminal output
/opt/esp/idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:6922:9: error: implicit declaration of function 'ble_gap_master_set_timer'; did you mean 'ble_gap_master_timer'? [-Werror=implicit-function-declaration]
6922 | ble_gap_master_set_timer(duration_ticks);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| ble_gap_master_timer
cc1: some warnings being treated as errors
Steps to reproduce the behavior
Enable extended advertising and not connection reattempt.
Project release version
latest
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
latest
Shell
Bash
Additional context
https://github.com/espressif/esp-nimble/commit/275e6820cda2862e636c35b1acecfe67978684c7#r150288200