Fixed some error messages

This commit is contained in:
David Crocker 2017-06-10 22:24:52 +01:00
parent 310b7c0e1a
commit 633efb2ad8

View file

@ -2921,7 +2921,8 @@ bool GCodes::HandleMcode(GCodeBuffer& gb, StringRef& reply)
}
else
{
platform.Message(GENERIC_MESSAGE, "Trigger number out of range\n");
reply.copy("Trigger number out of range");
error = true;
}
}
break;
@ -3001,7 +3002,7 @@ bool GCodes::HandleMcode(GCodeBuffer& gb, StringRef& reply)
if (badDrive)
{
reply.copy("Error: invalid drive number in M584 command\n");
reply.copy("Invalid drive number in M584 command");
error = true;
}
else
@ -3016,7 +3017,7 @@ bool GCodes::HandleMcode(GCodeBuffer& gb, StringRef& reply)
}
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;
}
}