updated headers following merge of xhume into edge
authorLogxen <logxen@hotmail.com>
Fri, 11 May 2012 21:58:17 +0000 (14:58 -0700)
committerLogxen <logxen@hotmail.com>
Fri, 11 May 2012 21:58:17 +0000 (14:58 -0700)
src/modules/robot/Planner.cpp
src/modules/robot/Player.cpp
src/modules/utils/simpleshell/SimpleShell.cpp

index d80cb64..c24182d 100644 (file)
@@ -12,7 +12,6 @@ using namespace std;
 #include "../communication/utils/Gcode.h"
 #include "libs/Module.h"
 #include "libs/Kernel.h"
-#include "wait_api.h" // mbed lib
 #include "Block.h"
 #include "Planner.h"
 #include "Player.h" 
index c151b3b..01b65b5 100644 (file)
@@ -12,6 +12,8 @@ using namespace std;
 #include "../communication/utils/Gcode.h"
 #include "libs/Module.h"
 #include "libs/Kernel.h"
+#include "Timer.h" // mbed.h lib
+#include "wait_api.h" // mbed.h lib
 #include "Block.h"
 #include "Player.h"
 #include "Planner.h"
@@ -85,7 +87,7 @@ void Player::pop_and_process_new_block(int debug){
 }
 
 void Player::wait_for_queue(int free_blocks){
-    Timer t;
+    mbed::Timer t;
     while( this->queue.size() >= this->queue.capacity()-free_blocks ){
         t.reset();
         t.start();
index 0bbceb4..d13cf3d 100644 (file)
@@ -7,7 +7,6 @@
 
 
 #include "libs/Kernel.h"
-#include "wait_api.h" // mbed.h lib
 #include "SimpleShell.h"
 #include "libs/nuts_bolts.h"
 #include "libs/utils.h"