Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated headers following merge of xhume into edge

  • Loading branch information...
commit b01bd3fa4a5115c6ced5236f1885030d6fa4ea11 1 parent 34a1d89
@logxen authored
View
1  src/modules/robot/Planner.cpp
@@ -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"
View
4 src/modules/robot/Player.cpp
@@ -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();
View
1  src/modules/utils/simpleshell/SimpleShell.cpp
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.