summaryrefslogtreecommitdiffhomepage
path: root/digital/beacon/src/laser.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-17 02:17:47 +0200
committerFlorent Duchon2012-12-24 17:47:57 +0100
commita2a799c4ec81435c16e27ec3051a94c609dd550e (patch)
tree0f8593c7ec16d860e818ae7249a0f3db0398480e /digital/beacon/src/laser.h
parentcac1bee81c06a82bfe14c23bdacc5cb37820be2f (diff)
digital/beacon: angle filtering
Diffstat (limited to 'digital/beacon/src/laser.h')
-rw-r--r--digital/beacon/src/laser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/digital/beacon/src/laser.h b/digital/beacon/src/laser.h
index f58cb3c8..721b7d96 100644
--- a/digital/beacon/src/laser.h
+++ b/digital/beacon/src/laser.h
@@ -30,6 +30,12 @@
#define SENDING_ENGAGED TIMSK3&(1<<OCIE3B)
#define LASER_CONFIRMATION_OFFSET 10
+#ifdef LOL_NUMBER_3
+#define ANGLE_RANGE_MAX 180
+#else
+#define ANGLE_RANGE_MAX 90
+#endif
+
typedef enum
{
LASER_FIRST_RISING_EDGE,