1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Fix single-char echo and pinMode usage

This commit is contained in:
Scott Lahteine 2017-03-18 10:17:00 -05:00
parent fb60aa3736
commit b0a9c82c31
2 changed files with 6 additions and 6 deletions

View File

@ -714,7 +714,7 @@ static void report_current_position();
SERIAL_ECHOPAIR("(", x);
SERIAL_ECHOPAIR(", ", y);
SERIAL_ECHOPAIR(", ", z);
SERIAL_ECHOPGM(")");
SERIAL_CHAR(')');
if (suffix) serialprintPGM(suffix);
else SERIAL_EOL;
@ -10589,9 +10589,9 @@ void setup() {
#endif
#if ENABLED(RGB_LED)
pinMode(RGB_LED_R_PIN, OUTPUT);
pinMode(RGB_LED_G_PIN, OUTPUT);
pinMode(RGB_LED_B_PIN, OUTPUT);
SET_OUTPUT(RGB_LED_R_PIN);
SET_OUTPUT(RGB_LED_G_PIN);
SET_OUTPUT(RGB_LED_B_PIN);
#endif
lcd_init();

View File

@ -120,7 +120,7 @@ void PrintCounter::showStats() {
#if ENABLED(DEBUG_PRINTCOUNTER)
SERIAL_ECHOPGM(" (");
SERIAL_ECHO(this->data.printTime);
SERIAL_ECHOPGM(")");
SERIAL_CHAR(')');
#endif
elapsed = this->data.longestPrint;
@ -132,7 +132,7 @@ void PrintCounter::showStats() {
#if ENABLED(DEBUG_PRINTCOUNTER)
SERIAL_ECHOPGM(" (");
SERIAL_ECHO(this->data.longestPrint);
SERIAL_ECHOPGM(")");
SERIAL_CHAR(')');
#endif
SERIAL_EOL;