diff options
author | kliment <kliment.yanev@gmail.com> | 2012-03-04 08:50:33 -0800 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2012-03-04 08:50:33 -0800 |
commit | 0a47e2d0b6493eeba856d9c71bafc9f97abd3ec3 (patch) | |
tree | 5e29245fa12631e165a2d80129a930d78fede8d6 /Sprinter/SdFatUtil.h | |
parent | 0ed514e153a7fe6fa6d9810e7373798ac4088dff (diff) | |
parent | 8465acbfb8946d1f02de7aae8e1b29ecd0ae5867 (diff) |
Merge pull request #147 from changwoo/arduino-1.0-compatibility
Arduino 1.0 compatibility for experimental
Diffstat (limited to 'Sprinter/SdFatUtil.h')
-rw-r--r-- | Sprinter/SdFatUtil.h | 2 |
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));
}
//------------------------------------------------------------------------------
/**
|