button: fix build on IDF version >= 5. Closes https://github.com/espressif/esp-iot-solution/pull/184

This commit is contained in:
Tomas Rezucha 2022-05-03 09:09:01 +02:00 committed by TDA2030
parent a5e1f94299
commit fd38b168d6
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
idf_component_register(SRCS "button_adc.c" "button_gpio.c" "iot_button.c"
INCLUDE_DIRS include
PRIV_REQUIRES esp_adc_cal)
REQUIRES driver
PRIV_REQUIRES esp_adc_cal esp_timer)

View file

@ -1,4 +1,4 @@
version: "2.0.0"
version: "2.0.1"
description: GPIO and ADC button driver
url: https://github.com/espressif/esp-iot-solution/tree/master/components/button
dependencies: