Skip to content

Commit

Permalink
Allow S111 on a line by itself, it will return ok, but currently wil …
Browse files Browse the repository at this point in the history
…be ignored.

  TODO the spindle module should be updated to handle a received Snnn by itself
  • Loading branch information
wolfmanjm committed Apr 5, 2016
1 parent 5382ba6 commit 7d105bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/communication/GcodeDispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void GcodeDispatch::on_console_line_received(void *line)
return;
}

if ( first_char == 'G' || first_char == 'M' || first_char == 'T' || first_char == 'N' ) {
if ( first_char == 'G' || first_char == 'M' || first_char == 'T' || first_char == 'S' || first_char == 'N' ) {

//Get linenumber
if ( first_char == 'N' ) {
Expand Down

0 comments on commit 7d105bc

Please sign in to comment.