Slash Enable tweaks

This commit is contained in:
Serge
2024-05-26 12:49:48 +02:00
parent 740a10fed8
commit f794110c2a
2 changed files with 2 additions and 2 deletions

View File

@@ -86,6 +86,7 @@ namespace GHelper.AnimeMatrix
if (brightness == 0 || (auto && SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online) || (lid && lidClose))
{
deviceSlash.SetEnabled(false);
deviceSlash.Init();
deviceSlash.SetOptions(false, 0, 0);
deviceSlash.SetSleepActive(false);
@@ -98,6 +99,7 @@ namespace GHelper.AnimeMatrix
_wakeUp = false;
}
deviceSlash.SetEnabled(true);
deviceSlash.Init();
switch ((SlashMode)running)