mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Fix single-char echo and pinMode usage
This commit is contained in:
parent
fb60aa3736
commit
b0a9c82c31
@ -714,7 +714,7 @@ static void report_current_position();
|
|||||||
SERIAL_ECHOPAIR("(", x);
|
SERIAL_ECHOPAIR("(", x);
|
||||||
SERIAL_ECHOPAIR(", ", y);
|
SERIAL_ECHOPAIR(", ", y);
|
||||||
SERIAL_ECHOPAIR(", ", z);
|
SERIAL_ECHOPAIR(", ", z);
|
||||||
SERIAL_ECHOPGM(")");
|
SERIAL_CHAR(')');
|
||||||
|
|
||||||
if (suffix) serialprintPGM(suffix);
|
if (suffix) serialprintPGM(suffix);
|
||||||
else SERIAL_EOL;
|
else SERIAL_EOL;
|
||||||
@ -10589,9 +10589,9 @@ void setup() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
pinMode(RGB_LED_R_PIN, OUTPUT);
|
SET_OUTPUT(RGB_LED_R_PIN);
|
||||||
pinMode(RGB_LED_G_PIN, OUTPUT);
|
SET_OUTPUT(RGB_LED_G_PIN);
|
||||||
pinMode(RGB_LED_B_PIN, OUTPUT);
|
SET_OUTPUT(RGB_LED_B_PIN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
lcd_init();
|
lcd_init();
|
||||||
|
@ -120,7 +120,7 @@ void PrintCounter::showStats() {
|
|||||||
#if ENABLED(DEBUG_PRINTCOUNTER)
|
#if ENABLED(DEBUG_PRINTCOUNTER)
|
||||||
SERIAL_ECHOPGM(" (");
|
SERIAL_ECHOPGM(" (");
|
||||||
SERIAL_ECHO(this->data.printTime);
|
SERIAL_ECHO(this->data.printTime);
|
||||||
SERIAL_ECHOPGM(")");
|
SERIAL_CHAR(')');
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
elapsed = this->data.longestPrint;
|
elapsed = this->data.longestPrint;
|
||||||
@ -132,7 +132,7 @@ void PrintCounter::showStats() {
|
|||||||
#if ENABLED(DEBUG_PRINTCOUNTER)
|
#if ENABLED(DEBUG_PRINTCOUNTER)
|
||||||
SERIAL_ECHOPGM(" (");
|
SERIAL_ECHOPGM(" (");
|
||||||
SERIAL_ECHO(this->data.longestPrint);
|
SERIAL_ECHO(this->data.longestPrint);
|
||||||
SERIAL_ECHOPGM(")");
|
SERIAL_CHAR(')');
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SERIAL_EOL;
|
SERIAL_EOL;
|
||||||
|
Loading…
Reference in New Issue
Block a user