mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
[driver]: removed redundant code in CMakeLists.txt
This commit is contained in:
parent
85565b8274
commit
31bba67491
@ -36,7 +36,6 @@ if(${target} STREQUAL "esp32")
|
|||||||
"esp32/touch_sensor.c"
|
"esp32/touch_sensor.c"
|
||||||
"esp32/adc.c"
|
"esp32/adc.c"
|
||||||
"esp32/dac.c")
|
"esp32/dac.c")
|
||||||
list(APPEND includes "esp32/include")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(IDF_TARGET STREQUAL "esp32s2")
|
if(IDF_TARGET STREQUAL "esp32s2")
|
||||||
@ -50,7 +49,6 @@ if(IDF_TARGET STREQUAL "esp32s2")
|
|||||||
"esp32s2/adc.c"
|
"esp32s2/adc.c"
|
||||||
"esp32s2/adc2_init_cal.c"
|
"esp32s2/adc2_init_cal.c"
|
||||||
"esp32s2/dac.c")
|
"esp32s2/dac.c")
|
||||||
list(APPEND includes "esp32s2/include")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(${target} STREQUAL "esp32s3")
|
if(${target} STREQUAL "esp32s3")
|
||||||
|
Loading…
Reference in New Issue
Block a user