Time is good

Dependencies:   RoboClaw mbed

Fork of Robot2016_2-0 by ARES

Revision:
45:b53ae54062c6
Parent:
44:b1fd7489369f
Child:
46:5658af4e5149
Child:
47:be4eebf40568
--- a/main.cpp	Wed Apr 13 11:43:10 2016 +0000
+++ b/main.cpp	Wed Apr 13 12:47:47 2016 +0000
@@ -1,6 +1,5 @@
 #include "func.h"
 
-#define dt 10000
 #define ATTENTE 0
 #define GO 1
 #define STOP 2
@@ -42,7 +41,6 @@
 int i = 0, state = 0;
 bool EL = false, EZ = false, ER = false;
 
-void update_main(void);
 void init(void);
 
 /* Debut du programme */
@@ -71,9 +69,3 @@
     wait_ms(100);
     logger.printf("End init\n\r");
 }
-
-void update_main(void)
-{
-    odo.update_odo();
-    checkAround();
-}
\ No newline at end of file