Fixed some error messages
This commit is contained in:
parent
310b7c0e1a
commit
633efb2ad8
1 changed files with 4 additions and 3 deletions
|
@ -2921,7 +2921,8 @@ bool GCodes::HandleMcode(GCodeBuffer& gb, StringRef& reply)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
platform.Message(GENERIC_MESSAGE, "Trigger number out of range\n");
|
reply.copy("Trigger number out of range");
|
||||||
|
error = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -3001,7 +3002,7 @@ bool GCodes::HandleMcode(GCodeBuffer& gb, StringRef& reply)
|
||||||
|
|
||||||
if (badDrive)
|
if (badDrive)
|
||||||
{
|
{
|
||||||
reply.copy("Error: invalid drive number in M584 command\n");
|
reply.copy("Invalid drive number in M584 command");
|
||||||
error = true;
|
error = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -3016,7 +3017,7 @@ bool GCodes::HandleMcode(GCodeBuffer& gb, StringRef& reply)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
reply.copy("Error: invalid number of visible axes in M584 command\n");
|
reply.copy("Invalid number of visible axes in M584 command");
|
||||||
error = true;
|
error = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue