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:
@ -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