summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/lenovo/h8/acpi/thermal.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/lenovo/h8/acpi/thermal.asl b/src/ec/lenovo/h8/acpi/thermal.asl
index b21dafcd6a..2215d5fb35 100644
--- a/src/ec/lenovo/h8/acpi/thermal.asl
+++ b/src/ec/lenovo/h8/acpi/thermal.asl
@@ -85,11 +85,11 @@ External (\PPKG, MethodObj)
Store (GPSV (), Local0)
/* Active fan 10 degree below passive threshold */
- Subtract (Local0, 10, Local0)
+ Local0 -= 10
If (\FLVL) {
/* Turn of 5 degree below trip point */
- Subtract (Local0, 5, Local0)
+ Local0 -= 5
}
Return (C2K (Local0))