forked from bblanchon/ArduinoJson
Use float
instead of double
to reduce the size of JsonVariant
(issue #134)
This commit is contained in:
@ -60,6 +60,12 @@ size_t Print::print(long value) {
|
||||
return print(tmp);
|
||||
}
|
||||
|
||||
size_t Print::print(int value) {
|
||||
char tmp[32];
|
||||
sprintf(tmp, "%d", value);
|
||||
return print(tmp);
|
||||
}
|
||||
|
||||
size_t Print::println() { return write('\r') + write('\n'); }
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user