diff options
Diffstat (limited to 'include/accelgyro.h')
-rw-r--r-- | include/accelgyro.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/accelgyro.h b/include/accelgyro.h index f9b68f0e36..a941c2fcb9 100644 --- a/include/accelgyro.h +++ b/include/accelgyro.h @@ -104,7 +104,10 @@ 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. May add add other events for the next processor. + * @event Event to process. May add other events for the next processor. + * + * Return EC_SUCCESS when one event is handled, EC_ERROR_NOT_HANDLED + * when no events have been proccessed. */ int (*irq_handler)(struct motion_sensor_t *s, uint32_t *event); #endif |