8000 Error Compiling when used as ESP IDF component. · Issue #309 · espressif/arduino-esp32 · GitHub
[go: up one dir, main page]

Skip to content
Error Compiling when used as ESP IDF component. #309
Closed
@alwint3r

Description

@alwint3r

Hi,

I got this compilation error right after updating my IDF version to the latest version on master branch.

arduino-esp32/cores/esp32/esp32-hal-bt.c: In function 'btStart':
arduino-esp32/cores/esp32/esp32-hal-bt.c:30:9: error: too few arguments to function 'esp_bt_co
ntroller_init'

I just noticed that the esp_bt_controller_init function signature has changed to:
esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg);

However, I managed to solve the compilation error by directly adding NULL as an argument to the function.

But, I think that's not the desired solution. See here.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0