A single SERIAL_ECHO macro type (#12557)
This commit is contained in:
@ -80,7 +80,7 @@ inline void GcodeSuite::G53() {
|
||||
void G54_59(uint8_t subcode=0) {
|
||||
const int8_t _space = parser.codenum - 54 + subcode;
|
||||
if (gcode.select_coordinate_system(_space)) {
|
||||
SERIAL_PROTOCOLLNPAIR("Select workspace ", _space);
|
||||
SERIAL_ECHOLNPAIR("Select workspace ", _space);
|
||||
report_current_position();
|
||||
}
|
||||
}
|
||||
|
@ -69,8 +69,7 @@ void GcodeSuite::M428() {
|
||||
if (!WITHIN(diff[i], -20, 20) && home_dir((AxisEnum)i) > 0)
|
||||
diff[i] = -current_position[i];
|
||||
if (!WITHIN(diff[i], -20, 20)) {
|
||||
SERIAL_ERROR_START();
|
||||
SERIAL_ERRORLNPGM(MSG_ERR_M428_TOO_FAR);
|
||||
SERIAL_ERROR_MSG(MSG_ERR_M428_TOO_FAR);
|
||||
LCD_ALERTMESSAGEPGM("Err: Too far!");
|
||||
BUZZ(200, 40);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user