MYSERIAL => MYSERIAL0

For cleaner diffing with Marlin 2.0.x.
This commit is contained in:
Scott Lahteine
2018-02-14 02:53:55 -06:00
parent d89a61bd51
commit c93dab2307
10 changed files with 50 additions and 65 deletions

View File

@@ -63,7 +63,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++) MYSERIAL.write(c);
for (uint8_t c; (c = pgm_read_byte(str)); str++) MYSERIAL0.write(c);
}
/**
@@ -72,7 +72,7 @@ void SdFatUtil::print_P(PGM_P str) {
* \param[in] pr Print object for output.
* \param[in] str Pointer to string stored in flash memory.
*/
void SdFatUtil::println_P(PGM_P str) { print_P(str); MYSERIAL.println(); }
void SdFatUtil::println_P(PGM_P str) { print_P(str); MYSERIAL0.println(); }
/**
* %Print a string in flash memory to Serial.