mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
use (LID_OPEN == 0 && BASE_PRES_L == 0) as the lid closed condition to avoid false triggers. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=smaug BUG=chrome-os-partner:42110 TEST=on Smaug EVT2, play with magnets and the genuine lid, check we get the right "lid open" / "lid close" messages on the console. Change-Id: Ie0a34fb7e45e8a424ff1cfda7662543d4f336f1a Reviewed-on: https://chromium-review.googlesource.com/287853 Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>