The code is unable to find the button_state_t type declared in the button.h header file.
In the main.c file, both and are included, and functions and variables are written similar to the example.
However, the following code was written for testing, but the build fails.
The issue
The code is unable to find the button_state_t type declared in the button.h header file. In the main.c file, both and are included, and functions and variables are written similar to the example.
However, the following code was written for testing, but the build fails.
I am using ESP32-WROOM-32E and ESP-IDF v5.0.1.
Which SDK are you using?
esp-idf
Which version of SDK are you using?
master
Which build target have you used?
Component causing the issue
button
Anything in the logs that might be useful for us?
No response
Additional information or context
No response
Confirmation