mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
ryu: update closed lid detection algorithm
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>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
a834638b29
commit
79fe9ee1a5
@@ -50,6 +50,8 @@
|
||||
#define CONFIG_HW_CRC
|
||||
#define CONFIG_I2C
|
||||
#define CONFIG_LID_SWITCH
|
||||
#define CONFIG_LID_SWITCH_GPIO_LIST LID_GPIO(GPIO_LID_OPEN)\
|
||||
LID_GPIO(GPIO_BASE_PRES_L)
|
||||
#define CONFIG_LOW_POWER_IDLE
|
||||
#define CONFIG_MKBP_EVENT
|
||||
#define CONFIG_VBOOT_HASH
|
||||
|
||||
Reference in New Issue
Block a user