Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/Print.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ class Print
};

}
using namespace arduino;
using arduino::Print;
3 changes: 3 additions & 0 deletions api/String.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,5 +255,8 @@ class StringSumHelper : public String

} // namespace arduino

using arduino::__FlashStringHelper;
using arduino::String;

#endif // __cplusplus
#endif // __ARDUINO_STRINGS__
4 changes: 1 addition & 3 deletions api/Udp.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,4 @@ class UDP : public Stream {
uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); };
};

}

using namespace arduino;
}
2 changes: 2 additions & 0 deletions test/src/Stream/test_parseFloat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#include <float.h>

using namespace arduino;

/**************************************************************************************
* TEST CODE
**************************************************************************************/
Expand Down
2 changes: 2 additions & 0 deletions test/src/Stream/test_parseInt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* TEST CODE
**************************************************************************************/

using namespace arduino;

TEST_CASE ("Testing parseInt(LookaheadMode lookahead = SKIP_ALL, char ignore = NO_IGNORE_CHAR)", "[Stream-parseInt-01]")
{
StreamMock mock;
Expand Down