diff options
Diffstat (limited to 'board/fleex/board.c')
-rw-r--r-- | board/fleex/board.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/board/fleex/board.c b/board/fleex/board.c index 82081fed48..ac04d3304b 100644 --- a/board/fleex/board.c +++ b/board/fleex/board.c @@ -278,9 +278,8 @@ static void cbi_init(void) } DECLARE_HOOK(HOOK_INIT, cbi_init, HOOK_PRIO_INIT_I2C + 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, @@ -292,7 +291,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) { @@ -333,4 +331,4 @@ int ppc_get_alert_status(int port) return gpio_get_level(GPIO_USB_PD_C0_INT_ODL) == 0; return gpio_get_level(GPIO_USB_PD_C1_INT_ODL) == 0; -}
\ No newline at end of file +} |