A single SERIAL_ECHO macro type (#12557)
This commit is contained in:
@ -45,10 +45,8 @@ void GcodeSuite::M810_819() {
|
||||
|
||||
if (len) {
|
||||
// Set a macro
|
||||
if (len > GCODE_MACROS_SLOT_SIZE) {
|
||||
SERIAL_ERROR_START();
|
||||
SERIAL_ERRORLNPGM("Macro too long.");
|
||||
}
|
||||
if (len > GCODE_MACROS_SLOT_SIZE)
|
||||
SERIAL_ERROR_MSG("Macro too long.");
|
||||
else {
|
||||
char c, *s = parser.string_arg, *d = gcode_macros[index];
|
||||
do {
|
||||
|
Reference in New Issue
Block a user