Permalink
Browse files

Serial.print() -> Serial.write() in SD SerialPrint_P function.

  • Loading branch information...
1 parent 915e488 commit 3dfc2c631110d912656d3bd02c7a07d16adcb6d3 @damellis damellis committed Feb 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}
//------------------------------------------------------------------------------
/**

0 comments on commit 3dfc2c6

Please sign in to comment.