adjusted the limit by axis maximum functions to not require the block data

This commit is contained in:
Dietz0r
2024-12-26 22:49:34 +01:00
committed by GitHub
parent efcdf3f6da
commit ce60b8ff7d
3 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -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);}