summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/poppy/base_detect_lux.c1
-rw-r--r--board/poppy/base_detect_poppy.c1
-rw-r--r--board/poppy/board.c2
-rw-r--r--board/poppy/board.h1
4 files changed, 1 insertions, 4 deletions
diff --git a/board/poppy/base_detect_lux.c b/board/poppy/base_detect_lux.c
index 749a59833d..0b9432a3bb 100644
--- a/board/poppy/base_detect_lux.c
+++ b/board/poppy/base_detect_lux.c
@@ -123,7 +123,6 @@ static void base_detect_change(enum base_status status)
task_wake(TASK_ID_CHARGER);
tablet_set_mode(!connected);
- host_set_single_event(EC_HOST_EVENT_MODE_CHANGE);
current_base_status = status;
}
diff --git a/board/poppy/base_detect_poppy.c b/board/poppy/base_detect_poppy.c
index 0361e89c66..4a220af993 100644
--- a/board/poppy/base_detect_poppy.c
+++ b/board/poppy/base_detect_poppy.c
@@ -93,7 +93,6 @@ static void base_detect_change(enum base_status status)
CPRINTS("Base %sconnected", connected ? "" : "not ");
gpio_set_level(GPIO_PP3300_DX_BASE, connected);
- host_set_single_event(EC_HOST_EVENT_MODE_CHANGE);
tablet_set_mode(!connected);
current_base_status = status;
}
diff --git a/board/poppy/board.c b/board/poppy/board.c
index 9ed130fc03..0db69536d1 100644
--- a/board/poppy/board.c
+++ b/board/poppy/board.c
@@ -141,7 +141,6 @@ void anx74xx_cable_det_interrupt(enum gpio_signal signal)
static int command_attach_base(int argc, char **argv)
{
- host_set_single_event(EC_HOST_EVENT_MODE_CHANGE);
tablet_set_mode(0);
return EC_SUCCESS;
}
@@ -150,7 +149,6 @@ DECLARE_CONSOLE_COMMAND(attachbase, command_attach_base,
static int command_detach_base(int argc, char **argv)
{
- host_set_single_event(EC_HOST_EVENT_MODE_CHANGE);
tablet_set_mode(1);
return EC_SUCCESS;
}
diff --git a/board/poppy/board.h b/board/poppy/board.h
index 1ac8b9237c..5e005f6d42 100644
--- a/board/poppy/board.h
+++ b/board/poppy/board.h
@@ -21,6 +21,7 @@
#define CONFIG_BOARD_SPECIFIC_VERSION
#define CONFIG_BUTTON_TRIGGERED_RECOVERY
#define CONFIG_DPTF
+#define CONFIG_DPTF_DEVICE_ORIENTATION
#define CONFIG_EMULATED_SYSRQ
#define CONFIG_FLASH_SIZE 0x80000
#define CONFIG_FPU