Sun, 10 Sep 2023 17:29:15 +0200
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_TARGET} STREQUAL esp8266) set(req esp8266 esp_timer) elseif(${IDF_VERSION_MAJOR} STREQUAL 4 AND ${IDF_VERSION_MINOR} STREQUAL 1 AND ${IDF_VERSION_PATCH} STREQUAL 3) set(req driver) else() set(req driver esp_timer) endif() idf_component_register( SRCS button.c INCLUDE_DIRS . REQUIRES ${req} )