From 70020d019a3057a58251b713622a681f91a0cf5a Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 14 May 2012 15:56:22 +0200 Subject: digital/io-hub/src/guybrush: close door when the hold has been left --- digital/io-hub/src/guybrush/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'digital/io-hub/src/guybrush/main.c') diff --git a/digital/io-hub/src/guybrush/main.c b/digital/io-hub/src/guybrush/main.c index 046398dc..b59594ea 100644 --- a/digital/io-hub/src/guybrush/main.c +++ b/digital/io-hub/src/guybrush/main.c @@ -53,6 +53,7 @@ #include "path.h" #include "move.h" +#include "top.h" #include "bot.h" @@ -239,6 +240,7 @@ main_loop (void) } pressure_update (); /* Update AI modules. */ + top_update (); path_decay (); /* Only manage events if slaves are synchronised. */ if (twi_master_sync () && main_fsm_debug_mode != MAIN_FSM_DEBUG_STOP) -- cgit v1.2.3