summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/kitty/board.c6
-rw-r--r--board/kitty/board.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/board/kitty/board.c b/board/kitty/board.c
index f0abfc12b3..33766fef02 100644
--- a/board/kitty/board.c
+++ b/board/kitty/board.c
@@ -80,3 +80,9 @@ const struct pwm_t pwm_channels[] = {
PWM_CONFIG_ACTIVE_LOW, GPIO_PWR_LED0},
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);
+
+/*Fake lid switch*/
+int lid_is_open(void)
+{
+ return 1;
+}
diff --git a/board/kitty/board.h b/board/kitty/board.h
index a906d7dd10..742ef0d1b2 100644
--- a/board/kitty/board.h
+++ b/board/kitty/board.h
@@ -20,6 +20,7 @@
#define CONFIG_POWER_BUTTON
#define CONFIG_VBOOT_HASH
#define CONFIG_LED_COMMON
+#undef CONFIG_LID_SWITCH
#ifndef __ASSEMBLER__