From cc631ff07f0cbacfecb70d0b3e76dd260867d0ae Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 4 May 2026 20:48:12 +0200 Subject: [PATCH] remove digitalWrite at init --- src/core/system.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 3e01a6e93..8499b1c37 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -840,11 +840,6 @@ void System::button_init() { // set the LED to on or off when in normal operating mode void System::led_init() { - // RGB: drive strip low before init. Standard GPIO LED: pinMode must precede digitalWrite (ESP32 Arduino hal). - if (led_type_) { - EMSESP_RGB_WRITE(led_gpio_, 0, 0, 0); - } - if (!led_gpio_) { // 0 means disabled LOG_INFO("LED disabled"); return;