summaryrefslogtreecommitdiff
path: root/n/es-2006/src
diff options
context:
space:
mode:
authorlambert2006-05-25 04:02:24 +0000
committerlambert2006-05-25 04:02:24 +0000
commitbcb580848f8e9106dd9d07249636a0f2736dabe3 (patch)
treef4f2e41373ccbe884e28c3cb87fdf6d1d1e3ec01 /n/es-2006/src
parent97840580874e9a0331cfc8ad6ac837376b29ce52 (diff)
es barillet :
* mise des acks au bon endroit * revoir la fin d'un depot => pb avec la relance turb * fonctionnel a 90% -> homologable
Diffstat (limited to 'n/es-2006/src')
-rw-r--r--n/es-2006/src/barillet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/n/es-2006/src/barillet.c b/n/es-2006/src/barillet.c
index 98bfd76..38f3771 100644
--- a/n/es-2006/src/barillet.c
+++ b/n/es-2006/src/barillet.c
@@ -303,12 +303,14 @@ vidange_barillet(void)
void sequenceur_barillet()
{
+ /*
static uint8_t old_pos_actuel = 0;
if (old_pos_actuel != pos_actuel_)
{
proto_send2b('W', pos_actuel_, fourche_barillet_prec_);
old_pos_actuel = pos_actuel_;
}
+ */
if (attente_)
{
attente_--;
@@ -352,7 +354,7 @@ void sequenceur_barillet()
rotation_barillet ((pos_actuel_ + 8) % 40, AR_EX_ROTATION);
break;
case AR_EX_FIN:
- // XXX ack
+ ack_set (ACK_BARILLET_BALL_REAR);
etat_en_cours_ = STAND_BY_FULL;
break;
case AR_DEP:
@@ -367,7 +369,6 @@ void sequenceur_barillet()
etat_en_cours_ = AR_DEP_FIN;
break;
case AR_DEP_FIN:
- ack_set (ACK_BARILLET_BALL_REAR);
etat_en_cours_ = STAND_BY_ARRET;
break;