Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent M2/M30 hold with check mode enabled #297

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion uCNC/cnc_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ extern "C"
/**
* accept G0 and G1 without explicit target
* */
// #define IGNORE_G0_G1_MISSING_AXIS_WORDS
#define IGNORE_G0_G1_MISSING_AXIS_WORDS

/**
* processes and displays the currently executing gcode numbered line
Expand Down
2 changes: 1 addition & 1 deletion uCNC/src/core/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,7 @@ uint8_t parser_exec_command(parser_state_t *new_state, parser_words_t *words, pa
break;
}

if (hold)
if (hold && !mc_get_checkmode())
{
mc_pause();
if (resetparser)
Expand Down