esp-idf-lib/components/mhz19b/CMakeLists.txt@50dbb626fbab
esp-idf-lib/components/mhz19b/CMakeLists.txt
Sun, 10 Sep 2023 17:29:15 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Sun, 10 Sep 2023 17:29:15 +0200
- changeset 37
- 50dbb626fbab
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
Version 0.4.3. Attempt to fix the sunlight overflow of the APDS9930 sensor in the private part of the esp-idf-lib. Removed some error checks from functions that always return OK. Store light sensor registers in the state record and report the values in the json result string.
if(${IDF_VERSION_MAJOR} STREQUAL 4 AND ${IDF_VERSION_MINOR} STREQUAL 1 AND ${IDF_VERSION_PATCH} STREQUAL 3)
set(req log esp_idf_lib_helpers driver)
else()
set(req log esp_idf_lib_helpers driver esp_timer)
endif()
idf_component_register(SRCS "mhz19b.c"
INCLUDE_DIRS "."
REQUIRES ${req})