summaryrefslogtreecommitdiff
path: root/board/poppy/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/poppy/board.h')
-rw-r--r--board/poppy/board.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/poppy/board.h b/board/poppy/board.h
index cf030f0c91..92d15ce0f7 100644
--- a/board/poppy/board.h
+++ b/board/poppy/board.h
@@ -126,7 +126,8 @@
#define CONFIG_ACCELGYRO_BMI160
#define CONFIG_MAG_BMI160_BMM150
#define CONFIG_ACCEL_INTERRUPTS
-#define CONFIG_ACCELGYRO_BMI160_INT_EVENT TASK_EVENT_CUSTOM(4)
+#define CONFIG_ACCELGYRO_BMI160_INT_EVENT \
+ TASK_EVENT_MOTION_SENSOR_INTERRUPT(LID_ACCEL)
#define CONFIG_ACCELGYRO_SEC_ADDR BMM150_ADDR0 /* 8-bit address */
#define CONFIG_MAG_CALIBRATE
/* Lower maximal ODR to 100Hz */