Moved action block to prevent unnecessary actions on main window toggle https://github.com/seerge/g-helper/pull/1651

This commit is contained in:
Serge
2023-11-25 19:53:54 +01:00
parent 5b2017299c
commit 3bab1a271b
2 changed files with 31 additions and 30 deletions

View File

@@ -134,6 +134,7 @@ namespace GHelper.USB
{
var device = AsusHid.FindDevices(AsusHid.AURA_ID).FirstOrDefault();
if (device is null) return;
Logger.WriteLine($"GA402: {device.ReleaseNumberBcd} {device.ReleaseNumber}");
if (device.ReleaseNumberBcd == 22 || device.ReleaseNumberBcd == 23) isSingleColor = true;
}
}