]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
fsmdisplay: Fixes
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 1 May 2008 02:09:15 +0000 (04:09 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 1 May 2008 02:09:15 +0000 (04:09 +0200)
src/robofsm/eb2008/fsmdisplay.cc

index 21ea2685dec566fb24bcf3a273902727d03f1dd9..56b372b5e97e7e70f97505f334d3b2d56626ba85 100644 (file)
@@ -35,7 +35,7 @@ uint8_t mode_to_go;
 enum {
        LEFT=0,
        RIGHT
-}
+};
 
 void serial_comm(int status)
 {
@@ -159,6 +159,7 @@ int move_carousel(uint8_t dir)
        ROBOT_LOCK(carousel);
        robot.orte.drives.carousel_pos = new_car_pos;
        ROBOT_UNLOCK(carousel);
+       return 0;
 }
 
 int process_msg(uint8_t *buff) {