summaryrefslogtreecommitdiff
path: root/board/rammus/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/rammus/board.c')
-rw-r--r--board/rammus/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/rammus/board.c b/board/rammus/board.c
index 93de4bd0bd..ff4ea53eba 100644
--- a/board/rammus/board.c
+++ b/board/rammus/board.c
@@ -677,8 +677,7 @@ struct motion_sensor_t motion_sensors[] = {
const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors);
/* Enable or disable input devices, based on chipset state and tablet mode */
-#ifndef TEST_BUILD
-void lid_angle_peripheral_enable(int enable)
+__override void lid_angle_peripheral_enable(int enable)
{
/* If the lid is in 360 position, ignore the lid angle,
* which might be faulty. Disable keyboard.
@@ -687,7 +686,6 @@ void lid_angle_peripheral_enable(int enable)
enable = 0;
keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE);
}
-#endif
static void board_chipset_reset(void)
{