ec/quanta/it8518/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`. Change-Id: I86a11ab5d2667661af3491174001001e644083e3 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60685 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
parent
a484bba667
commit
0375b828f9
|
@ -317,7 +317,7 @@ Device (BATX)
|
|||
|
||||
// See if within ~3% of full
|
||||
ShiftRight (Local2, 5, Local3)
|
||||
If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3)
|
||||
If (Local1 > Local2 - Local3 && Local1 < Local2 + Local3)
|
||||
{
|
||||
Store (Local2, Local1)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue