mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-08 11:22:40 +03:00
Serial.print() -> Serial.write() in SD SerialPrint_P function.
http://code.google.com/p/arduino/issues/detail?id=759
This commit is contained in:
@@ -56,7 +56,7 @@ static UNUSEDOK int FreeRam(void) {
|
|||||||
* \param[in] str Pointer to string stored in flash memory.
|
* \param[in] str Pointer to string stored in flash memory.
|
||||||
*/
|
*/
|
||||||
static NOINLINE void SerialPrint_P(PGM_P str) {
|
static NOINLINE void SerialPrint_P(PGM_P str) {
|
||||||
for (uint8_t c; (c = pgm_read_byte(str)); str++) Serial.print(c);
|
for (uint8_t c; (c = pgm_read_byte(str)); str++) Serial.write(c);
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user