diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-03-08 15:35:50 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-03-08 15:37:01 +0100 |
commit | 3a5c963fcb72dbe5c1c01ca1a4f66de9ed2211db (patch) | |
tree | a1adf8a01ecc305bb7acb6025babcd2eeaa17335 /sensors/piranha_sensors.h | |
parent | 2ea9f1064e2dc5cc4c922c753922b15a60672475 (diff) | |
download | device_samsung_p3100-3a5c963fcb72dbe5c1c01ca1a4f66de9ed2211db.zip device_samsung_p3100-3a5c963fcb72dbe5c1c01ca1a4f66de9ed2211db.tar.gz device_samsung_p3100-3a5c963fcb72dbe5c1c01ca1a4f66de9ed2211db.tar.bz2 |
sensors: Timed poll, don't return 0 events nor more than count
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'sensors/piranha_sensors.h')
-rw-r--r-- | sensors/piranha_sensors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sensors/piranha_sensors.h b/sensors/piranha_sensors.h index e79f2ce..b93f65e 100644 --- a/sensors/piranha_sensors.h +++ b/sensors/piranha_sensors.h @@ -26,6 +26,8 @@ #ifndef _SENSORS_H_ #define _SENSORS_H_ +#define PIRANHA_POLL_DELAY 100 + struct piranha_sensors_device; struct piranha_sensors_handlers { |