Time is good

Dependencies:   RoboClaw mbed

Fork of Robot2016_2-0 by ARES

Revision:
84:b54822c913b0
Parent:
81:e7b03e81b025
Child:
93:c0b040954eac
--- a/tests.cpp	Fri May 06 09:20:49 2016 +0200
+++ b/tests.cpp	Fri May 06 07:43:02 2016 +0000
@@ -1,8 +1,7 @@
 #include "entete.h"
 
 void wait_start() {
-    while (start == 1);
-    while (start == 0);
+    while (CAMP != 0) ;
 }
 
 void TestDist3(float start, float pas) {