From 50503e126edbd94758b7cf6f8214e8748712994d Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:08:07 +0100 Subject: [PATCH] InitStatus led on wake up https://github.com/seerge/g-helper/discussions/3354 --- app/Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Program.cs b/app/Program.cs index 4114e5d1..873258c1 100644 --- a/app/Program.cs +++ b/app/Program.cs @@ -233,12 +233,10 @@ public static bool SetAutoModes(bool powerChanged = false, bool init = false) Logger.WriteLine("AutoSetting for " + isPlugged.ToString()); BatteryControl.AutoBattery(init); - if (init) { screenControl.InitMiniled(); InputDispatcher.InitScreenpad(); - InputDispatcher.InitStatusLed(); } inputDispatcher.Init(); @@ -264,6 +262,7 @@ public static bool SetAutoModes(bool powerChanged = false, bool init = false) InputDispatcher.AutoKeyboard(); } + InputDispatcher.InitStatusLed(); XGM.InitLight(); VisualControl.InitBrightness();