summaryrefslogtreecommitdiff
path: root/board/malefor/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/malefor/board.c')
-rw-r--r--board/malefor/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/malefor/board.c b/board/malefor/board.c
index 394aec8ee7..2dd92fabec 100644
--- a/board/malefor/board.c
+++ b/board/malefor/board.c
@@ -97,8 +97,7 @@ int board_is_lid_angle_tablet_mode(void)
}
/* Enable or disable input devices, based on tablet mode or chipset state */
-#ifndef TEST_BUILD
-void lid_angle_peripheral_enable(int enable)
+__override void lid_angle_peripheral_enable(int enable)
{
if (ec_cfg_has_tabletmode()) {
if (chipset_in_state(CHIPSET_STATE_ANY_OFF) ||
@@ -107,7 +106,6 @@ void lid_angle_peripheral_enable(int enable)
keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE);
}
}
-#endif
/******************************************************************************/
/* Sensors */