We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4c5fa7 + 527c7c2 commit 9d13023Copy full SHA for 9d13023
hardware/arduino/avr/cores/arduino/Print.cpp
@@ -122,9 +122,7 @@ size_t Print::print(const Printable& x)
122
123
size_t Print::println(void)
124
{
125
- size_t n = print('\r');
126
- n += print('\n');
127
- return n;
+ return write("\r\n");
128
}
129
130
size_t Print::println(const String &s)
hardware/arduino/sam/cores/arduino/Print.cpp
@@ -115,9 +115,7 @@ size_t Print::print(const Printable& x)
115
116
117
118
119
120
121
0 commit comments