We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cc0e41 commit 5e29545Copy full SHA for 5e29545
CMake/Modules/FindSystem.Device.Adc.cmake
@@ -17,7 +17,7 @@ list(APPEND System.Device.Adc_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/src/System.Device
17
18
# source files
19
# ESP32 uses legacy ADC driver for now as there is a dependency to legacy I2S due to internal DAC on ESP32
20
-if(${TARGET_SERIES_SHORT} STREQUAL "esp32")
+if(TARGET_SERIES_SHORT AND ${TARGET_SERIES_SHORT} STREQUAL "esp32")
21
set(System.Device.Adc_SRCS
22
23
sys_dev_adc_native.cpp
0 commit comments