Skip to content

Commit 9053335

Browse files
committed
Restore "using naespace mbed" to mbed.h
1 parent 373e3e2 commit 9053335

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

cores/arduino/mbed/mbed.h

+1
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,6 @@
103103
#include "platform/ScopedLock.h"
104104

105105
using namespace std;
106+
using namespace mbed;
106107

107108
#endif

mbed-os-to-arduino

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ cat $BOARDNAME.macros.txt | cut -f2 -d":" > $ARDUINOCORE/defines.txt
1111
xargs -n 1 < ./BUILD/$BOARDNAME/GCC_ARM/.include* | sed -e 's#./mbed-os#{build.core.path}/mbed#g' | sed -e 's#-I/.*$##' | tac > $ARDUINOCORE/includes.txt
1212

1313
#TODO: remove -MDD from flags
14-
#TODO: remove "using namespace mbed" from mbed.h
1514

1615
gron ./BUILD/$BOARDNAME/GCC_ARM/.profile-c | grep json.flags | cut -f2 -d"\"" > $ARDUINOCORE/cflags.txt
1716
gron ./BUILD/$BOARDNAME/GCC_ARM/.profile-cxx | grep json.flags | cut -f2 -d"\"" > $ARDUINOCORE/cxxflags.txt

0 commit comments

Comments
 (0)