summaryrefslogtreecommitdiff
path: root/Sprinter/SdFatUtil.h
diff options
context:
space:
mode:
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));
}
//------------------------------------------------------------------------------
/**