Updated printLn on SAM core

This commit is contained in:
Christopher Andrews 2015-05-23 01:56:06 +10:00
parent c617562e74
commit 527c7c2572
1 changed files with 1 additions and 3 deletions

View File

@ -115,9 +115,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)