1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01: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

@ -46,6 +46,12 @@ Processing and Wiring.
UPDATES
0009
* Fixed a bug in SoftwareSerial (a hardware serial function was being called
instead of the software serial equivalent). Thanks to brianbr for the
report and fix.
0008
* Updated examples (in distribution and on the website).

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;
}