diff options
Diffstat (limited to 'board/garg/board.c')
-rw-r--r-- | board/garg/board.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/garg/board.c b/board/garg/board.c index ec74c69af7..2f20009f3a 100644 --- a/board/garg/board.c +++ b/board/garg/board.c @@ -345,9 +345,8 @@ void board_hibernate_late(void) gpio_set_flags(hibernate_pins[i][0], hibernate_pins[i][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, @@ -359,7 +358,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) { |