diff options
Diffstat (limited to 'board/coachz/board.h')
-rw-r--r-- | board/coachz/board.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/coachz/board.h b/board/coachz/board.h index 9e2fc54318..7779435777 100644 --- a/board/coachz/board.h +++ b/board/coachz/board.h @@ -54,6 +54,9 @@ #define CONFIG_ACCELGYRO_BMI160_INT_EVENT \ TASK_EVENT_MOTION_SENSOR_INTERRUPT(LID_ACCEL) #define OPT3001_I2C_ADDR_FLAGS OPT3001_I2C_ADDR1_FLAGS +#define CONFIG_ACCELGYRO_BMI260 +#define CONFIG_ACCELGYRO_BMI260_INT_EVENT \ + TASK_EVENT_MOTION_SENSOR_INTERRUPT(LID_ACCEL) #define CONFIG_TABLET_MODE #define CONFIG_TABLET_MODE_SWITCH @@ -117,6 +120,8 @@ void board_reset_pd_mcu(void); void board_set_tcpc_power_mode(int port, int mode); /* Base detection */ void base_detect_interrupt(enum gpio_signal signal); +/* motion sensor interrupt */ +void motion_interrupt(enum gpio_signal signal); #endif /* !defined(__ASSEMBLER__) */ |