summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/robospierre/top.c
diff options
context:
space:
mode:
authorNicolas Schodet2011-05-31 22:34:26 +0200
committerNicolas Schodet2011-05-31 22:44:18 +0200
commit18a1c04ba9b61d484c745b075bfbaad101629a2c (patch)
tree2731537efd17748237e88892bb9a220384f6a700 /digital/io-hub/src/robospierre/top.c
parent546594731c6c7d2727382154a991a564b8b8d6da (diff)
digital/io-hub: add green zone width define
Diffstat (limited to 'digital/io-hub/src/robospierre/top.c')
-rw-r--r--digital/io-hub/src/robospierre/top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/digital/io-hub/src/robospierre/top.c b/digital/io-hub/src/robospierre/top.c
index 92e42b1c..5756d38e 100644
--- a/digital/io-hub/src/robospierre/top.c
+++ b/digital/io-hub/src/robospierre/top.c
@@ -24,7 +24,7 @@
* }}} */
#include "common.h"
-#include "playground.h"
+#include "playground_2011.h"
#include "asserv.h"
#define FSM_NAME AI
@@ -69,7 +69,7 @@ struct top_t top_global;
FSM_TRANS (TOP_START, init_start_round, TOP_GOING_OUT1)
{
element_init ();
- asserv_goto (PG_X (400 + 100), PG_Y (PG_LENGTH - 200), 0);
+ asserv_goto (PG_X (PG_GREEN_WIDTH_MM + 100), PG_Y (PG_LENGTH - 200), 0);
return FSM_NEXT (TOP_START, init_start_round);
}