This commit is contained in:
proddy
2025-01-25 08:40:47 +01:00
parent de6405f8d1
commit 91075ace37

View File

@@ -139,7 +139,7 @@ StateUpdateResult WebSettings::update(JsonObject root, WebSettings & settings) {
#if defined(ARDUINO_LOLIN_C3_MINI) && !defined(BOARD_C3_MINI_V1) #if defined(ARDUINO_LOLIN_C3_MINI) && !defined(BOARD_C3_MINI_V1)
(int8_t)(root["led_type"] | 1)}; (int8_t)(root["led_type"] | 1)};
#else #else
(int8_t)(root["led_type"] | 0)}; (int8_t)(root["led_type"] | 0)}; // 0 = LED, 1 = RGB-LED
#endif #endif
} }
// check valid pins in this board profile // check valid pins in this board profile