summaryrefslogtreecommitdiff
path: root/board/burnet
diff options
context:
space:
mode:
Diffstat (limited to 'board/burnet')
-rw-r--r--board/burnet/board.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/board/burnet/board.c b/board/burnet/board.c
index 8bc435a44a..9737fd633c 100644
--- a/board/burnet/board.c
+++ b/board/burnet/board.c
@@ -588,16 +588,3 @@ int battery_set_vendor_param(uint32_t param, uint32_t value)
{
return EC_ERROR_UNIMPLEMENTED;
}
-
-/* Enable or disable input devices, based on chipset state and tablet mode */
-#ifndef TEST_BUILD
-void lid_angle_peripheral_enable(int enable)
-{
- /* If the lid is in 360 position, ignore the lid angle,
- * which might be faulty. Disable keyboard.
- */
- if (tablet_get_mode() || chipset_in_state(CHIPSET_STATE_ANY_OFF))
- enable = 0;
- keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE);
-}
-#endif