summaryrefslogtreecommitdiff
path: root/include/accelgyro.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/accelgyro.h')
-rw-r--r--include/accelgyro.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/accelgyro.h b/include/accelgyro.h
index 46ab68d855..756c2e0e9d 100644
--- a/include/accelgyro.h
+++ b/include/accelgyro.h
@@ -104,9 +104,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.
+ * @event Event to process. May add add other events for the next processor.
*/
- int (*irq_handler)(struct motion_sensor_t *s, uint32_t event);
+ int (*irq_handler)(struct motion_sensor_t *s, uint32_t *event);
#endif
#ifdef CONFIG_ACCEL_FIFO
/**