|
@@ -2922,7 +2922,7 @@ inline void gcode_M42() {
|
2922
|
2922
|
if (verbose_level > 0)
|
2923
|
2923
|
SERIAL_PROTOCOLPGM("M48 Z-Probe Repeatability test\n");
|
2924
|
2924
|
|
2925
|
|
- if (code_seen('P') || code_seen('p')) { // `n` for legacy support only - please use `P`!
|
|
2925
|
+ if (code_seen('P') || code_seen('p')) {
|
2926
|
2926
|
n_samples = code_value_short();
|
2927
|
2927
|
if (n_samples < 4 || n_samples > 50) {
|
2928
|
2928
|
SERIAL_PROTOCOLPGM("?Sample size not plausible (4-50).\n");
|