From 93e80d4e5df33d88862635f199fbd6d124a24076 Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Fri, 2 May 2008 04:28:18 +0200 Subject: * digital/io/src - revert commit for homologation mode has it is quite working. --- digital/io/src/top_cb.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/digital/io/src/top_cb.c b/digital/io/src/top_cb.c index 076fcca7..33f5c467 100644 --- a/digital/io/src/top_cb.c +++ b/digital/io/src/top_cb.c @@ -40,8 +40,6 @@ #include "getsamples.h" /* getsamples_* */ #include "gutter.h" /* gutter_start */ -#include "main.h" - #include "io.h" /** @@ -135,10 +133,6 @@ top__GO_TO_ADVERSE_ICE_DISTRIBUTOR__move_fsm_finished (void) * samples. The problem is this should depend on the time we have until * the end of match */ uint8_t bitfield = _BV (out_right_box) | _BV (middle_right_box); - if (main_always_stop_for_obstacle) - { - bitfield = _BV (middle_right_box); - } getsamples_start (PG_DISTRIBUTOR_ICE_ADVERSE_A, bitfield); return top_next (GO_TO_ADVERSE_ICE_DISTRIBUTOR, move_fsm_finished); } @@ -164,10 +158,6 @@ top__GO_TO_OUR_ICE_DISTRIBUTOR__move_fsm_finished (void) bitfield = _BV (out_left_box) | _BV (middle_box) | _BV (out_right_box); } - if (main_always_stop_for_obstacle) - { - bitfield = _BV (middle_right_box); - } getsamples_start (PG_DISTRIBUTOR_ICE_OUR_A, bitfield); return top_next (GO_TO_OUR_ICE_DISTRIBUTOR, move_fsm_finished); } @@ -194,10 +184,6 @@ top__GO_TO_SAMPLE_DISTRIBUTOR__move_fsm_finished (void) */ bitfield = _BV (middle_left_box) | _BV (middle_right_box); } - if (main_always_stop_for_obstacle) - { - bitfield = _BV (out_left_box); - } getsamples_start (PG_DISTRIBUTOR_SAMPLE_OUR_A, bitfield); return top_next (GO_TO_SAMPLE_DISTRIBUTOR, move_fsm_finished); } -- cgit v1.2.3