Skip to content

Commit 3dfc2c6

Browse files
committed
Serial.print() -> Serial.write() in SD SerialPrint_P function.
http://code.google.com/p/arduino/issues/detail?id=759
1 parent 915e488 commit 3dfc2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SD/utility/SdFatUtil.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static UNUSEDOK int FreeRam(void) {
5656
* \param[in] str Pointer to string stored in flash memory.
5757
*/
5858
static NOINLINE void SerialPrint_P(PGM_P str) {
59-
for (uint8_t c; (c = pgm_read_byte(str)); str++) Serial.print(c);
59+
for (uint8_t c; (c = pgm_read_byte(str)); str++) Serial.write(c);
6060
}
6161
//------------------------------------------------------------------------------
6262
/**

0 commit comments

Comments
 (0)