mirror of https://github.com/noisymime/Arduino.git
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.
|
* \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);
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue