Eurobot2012_Primary

Dependencies:   mbed Eurobot_2012_Primary

Revision:
5:7ac07bf30707
Parent:
4:7b7334441da9
Child:
7:f9c59a3e4155
--- a/Kalman/Kalman.cpp	Thu Apr 26 22:05:59 2012 +0000
+++ b/Kalman/Kalman.cpp	Thu Apr 26 23:49:49 2012 +0000
@@ -98,15 +98,13 @@
 #else
     LPC_UART1->FCR = LPC_UART1->FCR | 0x06;       // Flush the serial FIFO buffer / OR with FCR
 #endif
-    
-    
+
     ir.attachisr();
     //wating untill the IR has reved up and picked up some data
-    Thread::wait(1000);
+    wait(1);
 
     //temporaraly disable IR updates
     ir.detachisr();
-    //IRturret.attach(NULL,Serial::RxIrq);
 
     //lock the state throughout the computation, as we will override the state at the end
     statelock.lock();