From bda06a1cc21008d119ef3ca95913113ee062fbc2 Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Sat, 16 May 2009 01:23:16 +0200 Subject: * 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. --- digital/io/src/sharp.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'digital/io/src/sharp.h') 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. -- cgit v1.2.3