little oops

2.0.x
LVD-AC 8 years ago committed by teemuatlut
parent 471a321624
commit cafc48dff8

@ -5152,7 +5152,7 @@ inline void gcode_G28() {
S2 += sq(z_at_pt[0]); S2 += sq(z_at_pt[0]);
N++; N++;
if (!pp_equals_1) // std dev from zero plane if (!pp_equals_1) // std dev from zero plane
for (uint8_t axis = 1; axis < 13; axis += (pp_equals_2 ? 4 : 2)) { for (uint8_t axis = (probe_mode == -2 ? 3 : 1); axis < 13; axis += (pp_equals_2 ? 4 : 2)) {
S1 += z_at_pt[axis]; S1 += z_at_pt[axis];
S2 += sq(z_at_pt[axis]); S2 += sq(z_at_pt[axis]);
N++; N++;
@ -5324,7 +5324,7 @@ inline void gcode_G28() {
if (zero_std_dev >= test_precision) if (zero_std_dev >= test_precision)
serialprintPGM(save_message); serialprintPGM(save_message);
SERIAL_EOL; SERIAL_EOL;
} }
else { // forced end else { // forced end
if (verbose_level == 0) { if (verbose_level == 0) {
SERIAL_PROTOCOLPGM("End DRY-RUN"); SERIAL_PROTOCOLPGM("End DRY-RUN");

Loading…
Cancel
Save