mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
Optimize printLn calls.
This commit is contained in:
parent
309ddbd7c7
commit
c617562e74
@ -122,9 +122,7 @@ size_t Print::print(const Printable& x)
|
||||
|
||||
size_t Print::println(void)
|
||||
{
|
||||
size_t n = print('\r');
|
||||
n += print('\n');
|
||||
return n;
|
||||
return write("\r\n");
|
||||
}
|
||||
|
||||
size_t Print::println(const String &s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user