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(", ", 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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue