summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Dufour2008-05-01 13:21:44 +0200
committerJérémy Dufour2008-05-01 13:21:44 +0200
commita0774291c347e30b42540ee6b42d8ac4f22352bd (patch)
treed905a3472d60a2784b335aeb58e87febcc94c55e
parentf9fa4ce32b2db7b6818ab4a541e2d6f4b8cd484a (diff)
* digital/io/src
- by default, when the io start, put the flag to stop when seeing an obstacle on.
-rw-r--r--digital/io/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/io/src/main.c b/digital/io/src/main.c
index 42524b1e..41fd141a 100644
--- a/digital/io/src/main.c
+++ b/digital/io/src/main.c
@@ -79,7 +79,7 @@ uint16_t main_sharp_ignore_event;
* Flag for homologation, to disable the path finding and always stop in front
* of an obstacle and wait.
*/
-uint8_t main_always_stop_for_obstacle;
+uint8_t main_always_stop_for_obstacle = 1;
/**
* Post an event for the main loop to wake up the move FSM in a certain count