mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01: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:
parent
915e4889e4
commit
3dfc2c6311
@ -56,7 +56,7 @@ static UNUSEDOK int FreeRam(void) {
|
||||
* \param[in] str Pointer to string stored in flash memory.
|
||||
*/
|
||||
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);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user