New jog cancel real-time command. Parser typo fix from last push.
- Added a new jog cancel real-time command. Rather than depending on a feed hold to cancel a jogging motion, this realtime command can be used instead. The main advantage is if a feed hold is used, you can accidentally hold the machine right when Grbl returns to IDLE after completing a jog. And the GUI doesn’t have to worry about tracking this either. - Fixed a typo in the g-code parser edits from the last push. Was causing the G10 set coordinate system command to not work correctly. - Updated the documentation with the jog cancel command.
This commit is contained in:
parent
bf5fc48074
commit
e2e2bb5242
10 changed files with 116 additions and 62 deletions
|
|
@ -202,10 +202,7 @@ uint8_t system_execute_line(char *line)
|
|||
}
|
||||
break;
|
||||
case 'R' : // Restore defaults [IDLE/ALARM]
|
||||
if (line[2] != 'S') { return(STATUS_INVALID_STATEMENT); }
|
||||
if (line[3] != 'T') { return(STATUS_INVALID_STATEMENT); }
|
||||
if (line[4] != '=') { return(STATUS_INVALID_STATEMENT); }
|
||||
if (line[6] != 0) { return(STATUS_INVALID_STATEMENT); }
|
||||
if ((line[2] != 'S') || (line[3] != 'T') || (line[4] != '=') || (line[6] != 0)) { return(STATUS_INVALID_STATEMENT); }
|
||||
switch (line[5]) {
|
||||
#ifdef ENABLE_RESTORE_EEPROM_DEFAULT_SETTINGS
|
||||
case '$': settings_restore(SETTINGS_RESTORE_DEFAULTS); break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue