Skip to content

Commit

Permalink
Status led fix #2303 (reply in thread)
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Mar 27, 2024
1 parent 014b107 commit af7823f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Extra.cs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ public Extra()
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; ;


Expand Down

0 comments on commit af7823f

Please sign in to comment.