mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
This commit is contained in:
@@ -404,7 +404,9 @@ namespace GHelper
|
||||
checkBootSound.Checked = (Program.acpi.DeviceGet(AsusACPI.BootSound) == 1);
|
||||
checkBootSound.CheckedChanged += CheckBootSound_CheckedChanged;
|
||||
|
||||
checkStatusLed.Checked = (Program.acpi.DeviceGet(AsusACPI.StatusLed) > 0);
|
||||
var statusLed = Program.acpi.DeviceGet(AsusACPI.StatusLed);
|
||||
checkStatusLed.Visible = statusLed >= 0;
|
||||
checkStatusLed.Checked = (statusLed > 0);
|
||||
checkStatusLed.CheckedChanged += CheckLEDStatus_CheckedChanged; ;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user