summaryrefslogtreecommitdiff
path: root/board/magolor/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/magolor/board.c')
-rw-r--r--board/magolor/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/magolor/board.c b/board/magolor/board.c
index c2f1129583..59464b4850 100644
--- a/board/magolor/board.c
+++ b/board/magolor/board.c
@@ -1073,9 +1073,8 @@ static void adc_vol_key_press_check(void)
}
DECLARE_HOOK(HOOK_TICK, adc_vol_key_press_check, HOOK_PRIO_DEFAULT);
-#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)
{
int chipset_in_s0 = chipset_in_state(CHIPSET_STATE_ON);
@@ -1099,4 +1098,3 @@ void lid_angle_peripheral_enable(int enable)
keyboard_scan_enable(0, KB_SCAN_DISABLE_LID_ANGLE);
}
}
-#endif