summaryrefslogtreecommitdiff
path: root/board/reef_mchp/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/reef_mchp/board.c')
-rw-r--r--board/reef_mchp/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/reef_mchp/board.c b/board/reef_mchp/board.c
index d5212ca931..334d4615db 100644
--- a/board/reef_mchp/board.c
+++ b/board/reef_mchp/board.c
@@ -782,8 +782,7 @@ static void enable_input_devices(void)
}
/* 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.
@@ -792,7 +791,6 @@ void lid_angle_peripheral_enable(int enable)
enable = 0;
keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE);
}
-#endif
/* Called on AP S5 -> S3 transition */
static void board_chipset_startup(void)