summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/giboulee.h
diff options
context:
space:
mode:
authorJérémy Dufour2008-04-20 16:04:02 +0200
committerJérémy Dufour2008-04-20 16:04:02 +0200
commitbff1fca84d0a1af55ab79f34cec6d0326d5f6ee6 (patch)
tree60e4b15db5661c8c5b7c6745bc487c4f0ff15658 /digital/io/src/giboulee.h
parent91843ba0478cdf90ab579c96c111c1f46196c222 (diff)
* digital/io/src
- fix order in defines (do the division at the end) ; - fix angle defines.
Diffstat (limited to 'digital/io/src/giboulee.h')
-rw-r--r--digital/io/src/giboulee.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/digital/io/src/giboulee.h b/digital/io/src/giboulee.h
index 2e0ce762..d8f93ef0 100644
--- a/digital/io/src/giboulee.h
+++ b/digital/io/src/giboulee.h
@@ -52,13 +52,13 @@
* it.
* For the moment, 15% of a complete turn
*/
-#define BOT_ARM_MIN_TO_OPEN (BOT_ARM_STEP_ROUND / 100 * 15)
+#define BOT_ARM_MIN_TO_OPEN (BOT_ARM_STEP_ROUND * 15L / 100)
/**
* Steps number relative to the beginning of a third round for the 'noted'
* position required by the get sample FSM.
*/
-#define BOT_ARM_NOTED_POSITION (BOT_ARM_THIRD_ROUND / 3 * 2)
+#define BOT_ARM_NOTED_POSITION (BOT_ARM_THIRD_ROUND * 2 / 3)
/**
* How to compute a angle for giboulee?