Serial refactor. Default 8-bit ECHO to int, not char (#20985)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@ -38,7 +38,7 @@ void GcodeSuite::M113() {
|
||||
NOMORE(host_keepalive_interval, 60);
|
||||
}
|
||||
else
|
||||
SERIAL_ECHO_MSG("M113 S", (uint16_t)host_keepalive_interval);
|
||||
SERIAL_ECHO_MSG("M113 S", host_keepalive_interval);
|
||||
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
static void config_prefix(PGM_P const name, PGM_P const pref=nullptr, const int8_t ind=-1) {
|
||||
SERIAL_ECHOPGM("Config:");
|
||||
if (pref) serialprintPGM(pref);
|
||||
if (ind >= 0) { SERIAL_ECHO(int(ind)); SERIAL_CHAR(':'); }
|
||||
if (ind >= 0) { SERIAL_ECHO(ind); SERIAL_CHAR(':'); }
|
||||
serialprintPGM(name);
|
||||
SERIAL_CHAR(':');
|
||||
}
|
||||
|
Reference in New Issue
Block a user