diff options
Diffstat (limited to 'peripheral/sensors/mraa/Sensor.hpp')
-rw-r--r-- | peripheral/sensors/mraa/Sensor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/peripheral/sensors/mraa/Sensor.hpp b/peripheral/sensors/mraa/Sensor.hpp index f3a9d95..7fc98a2 100644 --- a/peripheral/sensors/mraa/Sensor.hpp +++ b/peripheral/sensors/mraa/Sensor.hpp @@ -67,7 +67,7 @@ class Sensor { * Poll for events * @param data where to store the events * @param count the number of events returned must be <= to the count - * @return 0 on success and a negative error number otherwise + * @return number of events returned in data on success and a negative error number otherwise */ virtual int pollEvents(sensors_event_t* data, int count) = 0; |