1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-12 20:49:16 +03:00

Fixing SoftwareSerial bug (call to printByte('0') instead of print('0')).

This commit is contained in:
David A. Mellis
2007-07-16 15:52:01 +00:00
parent 1a557fae0d
commit 1a4dfa9d87
2 changed files with 7 additions and 1 deletions

View File

@@ -213,7 +213,7 @@ void SoftwareSerial::printNumber(unsigned long n, uint8_t base)
unsigned long i = 0;
if (n == 0) {
printByte('0');
print('0');
return;
}