summaryrefslogtreecommitdiff
path: root/n
diff options
context:
space:
mode:
authorlambert2006-05-26 18:24:07 +0000
committerlambert2006-05-26 18:24:07 +0000
commit42c6ca372b2ed96749d588e007a8bfbce756f9c3 (patch)
tree8bd402763d8f6794020d48392d2020738e559696 /n
parent6816e1505503bfeb39b3f9e4156e2514907cdbba (diff)
Diffstat (limited to 'n')
-rw-r--r--n/es-2006/src/barillet.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/n/es-2006/src/barillet.c b/n/es-2006/src/barillet.c
index 5eb2934..86e8da3 100644
--- a/n/es-2006/src/barillet.c
+++ b/n/es-2006/src/barillet.c
@@ -289,21 +289,23 @@ depot_balle (void)
}
/* vidange total du barillet */
+/*************
+ * ATTENTION * cette fonction peut etre appele a tout moment
+ * ***********/
void
vidange_barillet(void)
{
- if ( ( etat_en_cours_ == STAND_BY || etat_en_cours_ == STAND_BY_FULL ) )
- {
- compt_vidange = 0;
- etat_en_cours_ = VIDANGE_1;
- rotation_barillet( 0x26, VIDANGE_1 );
- }
+ OCR_TURB_ARRIERE = VITESSE_TURB_MIN_;
+ OCR_TURB_AVANT = VITESSE_TURB_MIN_;
+ compt_vidange = 0;
+ etat_en_cours_ = VIDANGE_1;
+ rotation_barillet( 0x26, VIDANGE_1 );
}
void sequenceur_barillet()
{
- /*
+ /* DEBUG *
static uint8_t old_pos_actuel = 0;
if (old_pos_actuel != pos_actuel_)
{