diff options
Diffstat (limited to 'board/metaknight/board.c')
-rw-r--r-- | board/metaknight/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/metaknight/board.c b/board/metaknight/board.c index 2cddafd49e..f507259b7f 100644 --- a/board/metaknight/board.c +++ b/board/metaknight/board.c @@ -832,9 +832,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); @@ -859,6 +858,7 @@ void lid_angle_peripheral_enable(int enable) } } +#ifndef TEST_BUILD void motion_interrupt(enum gpio_signal signal) { switch (base_gyro_config) { |