Merge pull request #3211 from Chris--A/println-optimize

Println optimize
This commit is contained in:
Martino Facchin 2015-05-28 10:24:12 +02:00
commit b8787565db
1 changed files with 1 additions and 3 deletions

View File

@ -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)