forked from bblanchon/ArduinoJson
Moved Print::write() implementation into Print.cpp
This commit is contained in:
1 parent
b560a87e15
commit
dd5cf661e3
4 files changed
+21
-9
No files matched your search
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Arduino JSON library
|
||||
* Benoit Blanchon 2014 - MIT License
|
||||
*/
|
||||
|
||||
#include "Print.h"
|
||||
|
||||
size_t Print::write(const char* s)
|
||||
{
|
||||
size_t n = 0;
|
||||
while (*s)
|
||||
{
|
||||
n += write(*s++);
|
||||
}
|
||||
return n;
|
||||
}
|
||||
Reference in new issue
Block a user