From 3dfc2c631110d912656d3bd02c7a07d16adcb6d3 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Fri, 3 Feb 2012 17:32:54 -0500 Subject: [PATCH] Serial.print() -> Serial.write() in SD SerialPrint_P function. http://code.google.com/p/arduino/issues/detail?id=759 --- libraries/SD/utility/SdFatUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/SD/utility/SdFatUtil.h b/libraries/SD/utility/SdFatUtil.h index 283fcb21a..7d6b4104f 100644 --- a/libraries/SD/utility/SdFatUtil.h +++ b/libraries/SD/utility/SdFatUtil.h @@ -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); } //------------------------------------------------------------------------------ /**