summaryrefslogtreecommitdiff
path: root/board/aleena
diff options
context:
space:
mode:
Diffstat (limited to 'board/aleena')
-rw-r--r--board/aleena/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/aleena/board.c b/board/aleena/board.c
index 5c235b7cad..50d310a5b8 100644
--- a/board/aleena/board.c
+++ b/board/aleena/board.c
@@ -34,6 +34,7 @@
#include "registers.h"
#include "switch.h"
#include "system.h"
+#include "tablet_mode.h"
#include "task.h"
#include "tcpci.h"
#include "temp_sensor.h"
@@ -110,6 +111,8 @@ void board_update_sensor_config_from_sku(void)
gpio_enable_interrupt(GPIO_6AXIS_INT_L);
} else {
motion_sensor_count = 0;
+ /* Device is clamshell only */
+ tablet_set_mode(0);
/* Gyro is not present, don't allow line to float */
gpio_set_flags(GPIO_6AXIS_INT_L,
GPIO_INPUT | GPIO_PULL_DOWN);