summaryrefslogtreecommitdiff
path: root/board/bobba/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bobba/board.c')
-rw-r--r--board/bobba/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/bobba/board.c b/board/bobba/board.c
index ede3e2aa52..fa56f996b8 100644
--- a/board/bobba/board.c
+++ b/board/bobba/board.c
@@ -505,9 +505,8 @@ void board_hibernate_late(void) {
gpio_set_flags(hibernate_pins[i][0], hibernate_pins[i][1]);
}
-#ifndef TEST_BUILD
/* This callback disables keyboard when convertibles are fully open */
-void lid_angle_peripheral_enable(int enable)
+__override void lid_angle_peripheral_enable(int enable)
{
/*
* If the lid is in tablet position via other sensors,
@@ -519,7 +518,6 @@ void lid_angle_peripheral_enable(int enable)
if (board_is_convertible())
keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE);
}
-#endif
void board_overcurrent_event(int port, int is_overcurrented)
{