mirror of
https://github.com/grblHAL/core.git
synced 2026-08-17 16:41:45 +08:00
adjusted the limit by axis maximum functions to not require the block data
This commit is contained in:
@@ -2376,7 +2376,7 @@ status_code_t gc_execute_block (char *block)
|
||||
if (gc_block.words.e){
|
||||
FAIL(Status_GcodeUnsupportedCommand);
|
||||
break;}
|
||||
else if (!gc_block.word.p){
|
||||
else if (!gc_block.words.p){
|
||||
gc_block.values.p = 1.0f;}
|
||||
else if (gc_block.values.p < 1.0f){
|
||||
FAIL(Status_NegativeValue);}
|
||||
|
||||
Reference in New Issue
Block a user