Skip to content

Commit

Permalink
fix status report send when sender adds LF after ?
Browse files Browse the repository at this point in the history
- fix status report send when sender adds LF after ?. This seems to cause issues in UGS
- Arduino Mega board also seems to respond better with this change
  • Loading branch information
Paciente8159 committed Sep 9, 2024
1 parent dcaa96b commit 9f8e253
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions uCNC/src/cnc.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ uint8_t cnc_parse_cmd(void)
#endif
break;
}
// runs any rt command in queue
// this catches for example a ?\n situation sent by some GUI like UGS
cnc_exec_rt_commands();
if (!error)
{
protocol_send_ok();
Expand Down

0 comments on commit 9f8e253

Please sign in to comment.