summaryrefslogtreecommitdiffhomepage
path: root/digital/io
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io')
-rw-r--r--digital/io/src/playground.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/io/src/playground.h b/digital/io/src/playground.h
index 21060d3b..a755e885 100644
--- a/digital/io/src/playground.h
+++ b/digital/io/src/playground.h
@@ -63,7 +63,7 @@
* value of the angle depending on the color.
*/
#define PG_A_VALUE_COMPUTING(a) \
- (bot_color ? (a) : ((a) + BOT_ANGLE_DEGREE * 180))
+ (bot_color ? (a) : (BOT_ANGLE_DEGREE * 180) - (a))
/**
* The position where to reset the bot when it starts, depending on the color.