aboutsummaryrefslogtreecommitdiff
path: root/libraries/SD/utility
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2012-05-21 01:56:06 +0200
committerCristian Maglie <c.maglie@bug.st>2012-05-22 11:23:47 +0200
commit3786e337e0211ca1ef94b37b03e891adfb3b5f9a (patch)
treedd7f8f6fd396243460ec22da89bfbd71d552f484 /libraries/SD/utility
parent324023a67afd1691f12ead4388d7cdf1a9d1a6ef (diff)
parent9a8976ce56bcdb70815dd58c1764d9e5c3b6fe95 (diff)
Pre-merge upstream Arduino
Diffstat (limited to 'libraries/SD/utility')
-rw-r--r--libraries/SD/utility/SdFatUtil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/SD/utility/SdFatUtil.h b/libraries/SD/utility/SdFatUtil.h
index 283fcb2..7d6b410 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);
}
//------------------------------------------------------------------------------
/**