diff options
Diffstat (limited to 'include/accelgyro.h')
-rw-r--r-- | include/accelgyro.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/accelgyro.h b/include/accelgyro.h index af15c0cd58..f4cb542dc6 100644 --- a/include/accelgyro.h +++ b/include/accelgyro.h @@ -107,8 +107,9 @@ struct accelgyro_drv { * handler for interrupts triggered by the sensor: it runs in task and * process the events that triggered an interrupt. * @s Pointer to sensor data. + * @event Event to process. */ - int (*irq_handler)(const struct motion_sensor_t *s); + int (*irq_handler)(struct motion_sensor_t *s, uint32_t event); #endif #ifdef CONFIG_ACCEL_FIFO /** |