Skip to content

Commit

Permalink
InitStatus led on wake up #3354
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Nov 11, 2024
1 parent 2f2d641 commit 50503e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -264,6 +262,7 @@ public static bool SetAutoModes(bool powerChanged = false, bool init = false)
InputDispatcher.AutoKeyboard();
}

InputDispatcher.InitStatusLed();
XGM.InitLight();
VisualControl.InitBrightness();

Expand Down

0 comments on commit 50503e1

Please sign in to comment.