summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/sharp.h
diff options
context:
space:
mode:
authorJérémy Dufour2009-05-16 01:23:16 +0200
committerJérémy Dufour2009-05-16 01:23:16 +0200
commitbda06a1cc21008d119ef3ca95913113ee062fbc2 (patch)
treeeeae5f24d01f51169948a50567fb028a6cc3ae5d /digital/io/src/sharp.h
parent7d8758cc6834db74eea2a86c8272eb2793b26239 (diff)
* digital/io/src:
- always update sharp module every cycle, - sharp update now read only one value every cycle, filter it SHARP_RAW_FILTER times and only keep the smallest one.
Diffstat (limited to 'digital/io/src/sharp.h')
-rw-r--r--digital/io/src/sharp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/digital/io/src/sharp.h b/digital/io/src/sharp.h
index 2a4f1c5d..4b0eb1de 100644
--- a/digital/io/src/sharp.h
+++ b/digital/io/src/sharp.h
@@ -89,9 +89,8 @@ void sharp_init (void);
* Update read data from sharps.
* This function is blocking. To get the value you have to use the get
* function (@a sharp_get_raw).
- * @param sharp_mask list of sharps (using a mask) to update.
*/
-void sharp_update (uint8_t sharp_mask);
+void sharp_update (void);
/**
* Get raw cached data from sharps.