From 66588149a85c829a1819b52231a0a61c4d64f3c6 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Mon, 28 Nov 2022 20:28:03 -0600 Subject: [PATCH] Change Error color to orange on RGB (#1333) And enable its display when entering the WM portal --- main/User_config.h | 2 +- main/main.ino | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/User_config.h b/main/User_config.h index d682fad..66dad21 100644 --- a/main/User_config.h +++ b/main/User_config.h @@ -460,7 +460,7 @@ CRGB leds[FASTLED_IND_NUM_LEDS]; FastLED.addLeds(leds, FASTLED_IND_NUM_LEDS); \ FastLED.setBrightness(20); # define ErrorIndicatorON() \ - leds[0] = CRGB::Red; \ + leds[0] = CRGB::Orange; \ FastLED.show() # define ErrorIndicatorOFF() \ leds[0] = CRGB::Black; \ diff --git a/main/main.ino b/main/main.ino index 9c9e77b..3e5dbdb 100644 --- a/main/main.ino +++ b/main/main.ino @@ -1250,8 +1250,8 @@ void setup_wifimanager(bool reset_settings) { } # endif - ErrorIndicatorON(); InfoIndicatorON(); + ErrorIndicatorON(); Log.notice(F("Connect your phone to WIFI AP: %s with PWD: %s" CR), WifiManager_ssid, WifiManager_password); //fetches ssid and pass and tries to connect //if it does not connect it starts an access point with the specified name @@ -1263,8 +1263,8 @@ void setup_wifimanager(bool reset_settings) { watchdogReboot(3); delay(5000); } - ErrorIndicatorOFF(); InfoIndicatorOFF(); + ErrorIndicatorOFF(); } displayPrint("Wifi connected");