summaryrefslogtreecommitdiff
path: root/Sprinter/SdFatUtil.h
diff options
context:
space:
mode:
authormidopple <mdoppler@gmx.at>2012-03-04 18:01:43 +0100
committermidopple <mdoppler@gmx.at>2012-03-04 18:01:43 +0100
commitbcef226413df81e24b68d5c68420cc88bbed10ff (patch)
treee516a1cfa71df6320e80debb85b596a0e4c4c8f9 /Sprinter/SdFatUtil.h
parent0ada66f1123e12de8a4b31b599571e7255cf18bf (diff)
parent0a47e2d0b6493eeba856d9c71bafc9f97abd3ec3 (diff)
Merge commit 'from changwoo/arduino-1.0-compatibility' into experimental
Diffstat (limited to 'Sprinter/SdFatUtil.h')
-rw-r--r--Sprinter/SdFatUtil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sprinter/SdFatUtil.h b/Sprinter/SdFatUtil.h
index 8bf9048..de3fee3 100644
--- a/Sprinter/SdFatUtil.h
+++ b/Sprinter/SdFatUtil.h
@@ -55,7 +55,7 @@ static 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.print(char(c));
}
//------------------------------------------------------------------------------
/**