diff options
Diffstat (limited to 'src/ec/roda/it8518/acpi/battery.asl')
-rw-r--r-- | src/ec/roda/it8518/acpi/battery.asl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ec/roda/it8518/acpi/battery.asl b/src/ec/roda/it8518/acpi/battery.asl index 7180ace088..f164587102 100644 --- a/src/ec/roda/it8518/acpi/battery.asl +++ b/src/ec/roda/it8518/acpi/battery.asl @@ -46,8 +46,7 @@ Device (BAT0) Local0 = 0x0f - Local1 = ECPS - Local1 &= 0x02 + Local1 = ECPS & 0x02 If (Local1 == 0x02) { Local0 = 0x1f @@ -75,8 +74,7 @@ Device (BAT0) { Printf ("-----> BAT0: _BST") - Local0 = B0ST - Local0 &= 0x40 + Local0 = B0ST & 0x40 If (Local0 == 0x40) { If (PWRS == 1) |