aboutsummaryrefslogtreecommitdiff
path: root/libraries/SD/utility/SdFatUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/SD/utility/SdFatUtil.h')
-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);
}
//------------------------------------------------------------------------------
/**