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:
parent
1a557fae0d
commit
1a4dfa9d87
@ -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).
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user