Serge
2024-03-27 11:43:41 +01:00
parent 014b107dbe
commit af7823ffe9

View File

@@ -404,7 +404,9 @@ namespace GHelper
checkBootSound.Checked = (Program.acpi.DeviceGet(AsusACPI.BootSound) == 1); checkBootSound.Checked = (Program.acpi.DeviceGet(AsusACPI.BootSound) == 1);
checkBootSound.CheckedChanged += CheckBootSound_CheckedChanged; 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; ; checkStatusLed.CheckedChanged += CheckLEDStatus_CheckedChanged; ;