summaryrefslogtreecommitdiff
path: root/digital/io/src/giboulee.h
diff options
context:
space:
mode:
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?