button: fix build on IDF version >= 5. Closes https://github.com/espressif/esp-iot-solution/pull/184
This commit is contained in:
parent
a5e1f94299
commit
fd38b168d6
2 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue