This commit is contained in:
Alexander 2024-08-11 11:49:00 -04:00
parent 6ce07bd5ad
commit 0ad1400f2e
2 changed files with 6 additions and 1 deletions

View File

@ -105,3 +105,5 @@
50 940 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
43 288 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
43 288 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
43 225 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
43 225 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e

View File

@ -39,7 +39,7 @@ static bool g_power_state = DEFAULT_POWER;
static void light_sensor_init(void) {}
void app_bme280_init() {}
static void app_bme280_init() {}
static void app_indicator_set(bool state)
{
@ -110,6 +110,9 @@ void app_driver_init()
/* Configure the GPIO */
gpio_config(&io_conf);
app_indicator_init();
// Configure ambient light sensor GPIO
light_sensor_init();
}
int IRAM_ATTR app_driver_set_state(bool state)