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:
parent
2819228d4f
commit
ae676490c9
4 changed files with 61 additions and 21 deletions
|
|
@ -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--;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue