Skip to content

Commit 431b57c

Browse files
committed
Cleanup
1 parent aaedb8a commit 431b57c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

app/AnimeMatrix/AniMatrixControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ public void SetSlash(bool wakeUp = false)
9696

9797
if (brightness == 0 || (auto && SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online) || (lid && lidClose))
9898
{
99+
deviceSlash.SetSleepActive(false);
99100
deviceSlash.SetEnabled(false);
100101
//deviceSlash.Init();
101102
//deviceSlash.SetOptions(false, 0, 0);
102-
deviceSlash.SetSleepActive(false);
103103
}
104104
else
105105
{

app/Program.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,6 @@ private static void SystemEvents_PowerModeChanged(object sender, PowerModeChange
277277
InputDispatcher.ShutdownStatusLed();
278278
}
279279

280-
if (e.Mode == PowerModes.Resume)
281-
{
282-
VisualControl.InitGamut();
283-
}
284-
285280
int delay = AppConfig.Get("charger_delay");
286281
if (delay > 0)
287282
{

0 commit comments

Comments
 (0)