mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
.
This commit is contained in:
parent
6ce07bd5ad
commit
0ad1400f2e
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user