M421: Add 'adjust closest point' capability
- Split M421 into separate versions for bilinear and ubl - Fix minor issue in G26
This commit is contained in:
1 parent
2819228d4f
commit
ae676490c9
4 files changed
+61
-21
No files matched your search
@@ -740,12 +740,14 @@
|
||||
}
|
||||
|
||||
if (code_seen('R')) {
|
||||
g26_repeats = code_has_value() ? code_value_int() - 1 : 999;
|
||||
g26_repeats = code_has_value() ? code_value_int() : 999;
|
||||
|
||||
if (g26_repeats <= 0) {
|
||||
SERIAL_PROTOCOLLNPGM("?(R)epeat value not plausible; must be greater than 0.");
|
||||
return UBL_ERR;
|
||||
}
|
||||
|
||||
g26_repeats--;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user