Reduce lookahead "error" to "notice"

The marlin firmware reportedly reports "Error" instead of "!!", indicating
a machine failure which is followed by a full power-down.  The Octoprint
GCode-sender assumes a reported Error means the print has failed and
the machine turned off.

In Teacup we report an "Error" when lookahead was too slow to join
movements, but this is interpreted as an emergency-stop by Octoprint who
then stops the job and leaves the printer idle with all the heaters running.

Change this "Error" to a "Notice" to avoid this problem.  Add a comment
prefix while we're at it to fit the de facto standard better.

See http://reprap.org/wiki/G-code
This commit is contained in:
Phil Hord 2015-10-13 17:48:41 -04:00
parent 6ef35a11f2
commit edae0dd31d
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ void dda_join_moves(DDA *prev, DDA *current) {
// If we were not fast enough, any feedback will happen outside the atomic block:
if(timeout) {
sersendf_P(PSTR("Error: look ahead not fast enough\r\n"));
sersendf_P(PSTR("// Notice: look ahead not fast enough\r\n"));
lookahead_timeout++;
}
}