From 7e11f4bdd0db25840484419b483308258d1ab566 Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Fri, 28 Mar 2008 02:03:09 +0100 Subject: * digital/io/src - correct the use of hysteresis with filter; - correct use of an identifier for sharps (thanks to ni). --- digital/io/src/sharp.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'digital/io/src/sharp.h') diff --git a/digital/io/src/sharp.h b/digital/io/src/sharp.h index c3f64284..9f0abd8a 100644 --- a/digital/io/src/sharp.h +++ b/digital/io/src/sharp.h @@ -42,22 +42,22 @@ /** * Front left sharp. */ -#define SHARP_FRONT_LEFT _BV(0) +#define SHARP_FRONT_LEFT 0 /** * Front right sharp. */ -#define SHARP_FRONT_RIGHT _BV(1) +#define SHARP_FRONT_RIGHT 1 /** * Back left sharp. */ -#define SHARP_BACK_LEFT _BV(2) +#define SHARP_BACK_LEFT 2 /** * Back right sharp. */ -#define SHARP_BACK_RIGHT _BV(3) +#define SHARP_BACK_RIGHT 3 /** * Low (0 index) and high (1 index) thresholds for interpreted sharp values. -- cgit v1.2.3