Teensylu support.
This commit is contained in:
parent
da040fd393
commit
9173a5713b
9 changed files with 50 additions and 52 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue