Compilation error
Posted: Sun Dec 10, 2023 12:30 am
Hi,
I'm getting this error when I compile for esp32 (below). I haven't touched `sleep_modes.c`, so I'm assuming there is an ifdef missing. Anyone have any ideas?
Thanks,
-T
I'm getting this error when I compile for esp32 (below). I haven't touched `sleep_modes.c`, so I'm assuming there is an ifdef missing. Anyone have any ideas?
Code: Select all
/Users/tennis/esp/esp-idf/components/esp_hw_support/sleep_modes.c: In function 'esp_sleep_get_touchpad_wakeup_status':
/Users/tennis/esp/esp-idf/components/esp_hw_support/sleep_modes.c:1432:5: error: implicit declaration of function 'touch_hal_get_wakeup_status'; did you mean 'rtc_hal_ext1_get_wakeup_status'? [-Werror=implicit-function-declaration]
1432 | touch_hal_get_wakeup_status(&pad_num);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| rtc_hal_ext1_get_wakeup_status
cc1: some warnings being treated as errors
-T