summaryrefslogtreecommitdiff
path: root/digital/io/src/top.c
diff options
context:
space:
mode:
authorJérémy Dufour2009-05-22 07:14:25 +0200
committerJérémy Dufour2009-05-22 07:14:25 +0200
commitf8506e55841f86ef2c385eac31aa8cdb53349b8a (patch)
treea426da8ae72257e10d6610fe432b3a2db1afa589 /digital/io/src/top.c
parent85d96233455b890c83638583da11e7aa6e989e72 (diff)
* digital/io/src:
- fix angle for clean distributor position, - when we do not need to stop move FSM to go somewhere else, do not stop it.
Diffstat (limited to 'digital/io/src/top.c')
-rw-r--r--digital/io/src/top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/digital/io/src/top.c b/digital/io/src/top.c
index 7cdeacef..af9d0ff7 100644
--- a/digital/io/src/top.c
+++ b/digital/io/src/top.c
@@ -85,9 +85,9 @@ top_get_next_position_to_get_distributor (asserv_position_t *clean_position,
/* First distributor. */
{ { 2711, 0 + DISTRIBUTOR_PROTECTION, 270 }, { 2711, DISTRIBUTOR_PROTECTION, 270 } },
/* Second distributor. */
- { { PG_WIDTH - DISTRIBUTOR_PROTECTION, 600, 90 }, { PG_WIDTH - DISTRIBUTOR_PROTECTION, 800, 0 } },
+ { { PG_WIDTH - DISTRIBUTOR_PROTECTION, 600, 270 }, { PG_WIDTH - DISTRIBUTOR_PROTECTION, 800, 0 } },
/* Third distributor. */
- { { PG_WIDTH - DISTRIBUTOR_PROTECTION, 1100, 90 }, { PG_WIDTH - DISTRIBUTOR_PROTECTION, 1300, 0 } },
+ { { PG_WIDTH - DISTRIBUTOR_PROTECTION, 1100, 270 }, { PG_WIDTH - DISTRIBUTOR_PROTECTION, 1300, 0 } },
};
/* Maximum number of remaining puck by distributor. */
static uint8_t distributor_puck_count[DISTRIBUTOR_COUNT] = { 5, 5, 5 };