Skip to content

Commit

Permalink
Merge pull request #1197 from foosel/fix/issue_1147
Browse files Browse the repository at this point in the history
Fixes commands not being acknowledged in the same order they are received in
  • Loading branch information
boelle committed Dec 19, 2014
2 parents a5c059d + acc0e75 commit 03e489a
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -721,14 +721,7 @@ void get_command()
case 1:
case 2:
case 3:
if(Stopped == false) { // If printer is stopped by an error the G[0-3] codes are ignored.
#ifdef SDSUPPORT
if(card.saving)
break;
#endif //SDSUPPORT
SERIAL_PROTOCOLLNPGM(MSG_OK);
}
else {
if (Stopped == true) {
SERIAL_ERRORLNPGM(MSG_ERR_STOPPED);
LCD_MESSAGEPGM(MSG_STOPPED);
}
Expand Down Expand Up @@ -1357,22 +1350,19 @@ void process_commands()
#endif //FWRETRACT
prepare_move();
//ClearToSend();
return;
}
break;
#ifndef SCARA //disable arc support
case 2: // G2 - CW ARC
if(Stopped == false) {
get_arc_coordinates();
prepare_arc_move(true);
return;
}
break;
case 3: // G3 - CCW ARC
if(Stopped == false) {
get_arc_coordinates();
prepare_arc_move(false);
return;
}
break;
#endif
Expand Down

0 comments on commit 03e489a

Please sign in to comment.