Teensylu support.
This commit is contained in:
@ -48,7 +48,7 @@ int SdFatUtil::FreeRam() {
|
||||
* \param[in] str Pointer to string stored in flash memory.
|
||||
*/
|
||||
void SdFatUtil::print_P( PGM_P str) {
|
||||
for (uint8_t c; (c = pgm_read_byte(str)); str++) MSerial.write(c);
|
||||
for (uint8_t c; (c = pgm_read_byte(str)); str++) SERIAL.write(c);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
/** %Print a string in flash memory followed by a CR/LF.
|
||||
@ -58,7 +58,7 @@ void SdFatUtil::print_P( PGM_P str) {
|
||||
*/
|
||||
void SdFatUtil::println_P( PGM_P str) {
|
||||
print_P( str);
|
||||
MSerial.println();
|
||||
SERIAL.println();
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
/** %Print a string in flash memory to Serial.
|
||||
|
Reference in New Issue
Block a user