diff options
author | Jett Rink <jettrink@chromium.org> | 2018-09-04 11:27:05 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-10 13:33:44 -0700 |
commit | 7e30bb00d6974bf10022d112c07788fb62e24581 (patch) | |
tree | 00dd50e1b07a356104d820d246cee0489479bdd4 | |
parent | f48bb683973e10a008eaf0d327ea15d0062bfc1e (diff) | |
download | chrome-ec-7e30bb00d6974bf10022d112c07788fb62e24581.tar.gz |
bobba: do not disable keyboard for clamshell
Like other octopus boards, do not disable keyboard for clamshell SKUs
BRANCH=none
BUG=none
TEST=build
Change-Id: I260ae76da9c5c0ab9989cf284141ca86816a6511
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1204690
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
-rw-r--r-- | board/bobba/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bobba/board.c b/board/bobba/board.c index d3c0625af2..687fb60911 100644 --- a/board/bobba/board.c +++ b/board/bobba/board.c @@ -246,7 +246,7 @@ void lid_angle_peripheral_enable(int enable) */ if (tablet_get_mode()) enable = 0; - - keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE); + if (board_is_convertible()) + keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE); } #endif |