summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/sharp.h
diff options
context:
space:
mode:
authorJérémy Dufour2008-03-28 02:03:09 +0100
committerJérémy Dufour2008-03-28 02:03:09 +0100
commit7e11f4bdd0db25840484419b483308258d1ab566 (patch)
tree894c2bd9f18c9e2827605d98309ec4669553b8f1 /digital/io/src/sharp.h
parent429c7e83ce696cec49bf008180b1d171abb82174 (diff)
* digital/io/src
- correct the use of hysteresis with filter; - correct use of an identifier for sharps (thanks to ni).
Diffstat (limited to 'digital/io/src/sharp.h')
-rw-r--r--digital/io/src/sharp.h8
1 files changed, 4 insertions, 4 deletions
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.