summaryrefslogtreecommitdiff
path: root/board/scarlet
diff options
context:
space:
mode:
Diffstat (limited to 'board/scarlet')
-rw-r--r--board/scarlet/board.c6
-rw-r--r--board/scarlet/board.h1
2 files changed, 1 insertions, 6 deletions
diff --git a/board/scarlet/board.c b/board/scarlet/board.c
index 9d8b1269ff..7f217bcd80 100644
--- a/board/scarlet/board.c
+++ b/board/scarlet/board.c
@@ -439,12 +439,6 @@ int board_allow_i2c_passthru(int port)
return (port == I2C_PORT_VIRTUAL_BATTERY);
}
-int tablet_get_mode(void)
-{
- /* Always in tablet mode */
- return 1;
-}
-
void usb_charger_set_switches(int port, enum usb_switch setting)
{
/*
diff --git a/board/scarlet/board.h b/board/scarlet/board.h
index d6110c5ba3..1fd0080ca5 100644
--- a/board/scarlet/board.h
+++ b/board/scarlet/board.h
@@ -94,6 +94,7 @@
#define CONFIG_SYNC_INT_EVENT TASK_EVENT_CUSTOM(5)
/* To be able to indicate the device is in tablet mode. */
+#define CONFIG_TABLET_MODE
#define CONFIG_TABLET_MODE_SWITCH
/* FIFO size is in power of 2. */