mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Fixing SoftwareSerial bug (call to printByte('0') instead of print('0')).
This commit is contained in:
@ -46,6 +46,12 @@ Processing and Wiring.
|
|||||||
|
|
||||||
UPDATES
|
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
|
0008
|
||||||
|
|
||||||
* Updated examples (in distribution and on the website).
|
* 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;
|
unsigned long i = 0;
|
||||||
|
|
||||||
if (n == 0) {
|
if (n == 0) {
|
||||||
printByte('0');
|
print('0');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user