indexindexIntoAB is only vald for !DELTA

This commit is contained in:
AnHardt 2015-08-08 21:15:26 +02:00 committed by Richard Wackerbarth
parent d8860f9ad9
commit 5707a2c3d5

View File

@ -2616,11 +2616,12 @@ inline void gcode_G28() {
eqnAMatrix[probePointCounter + 0 * abl2] = xProbe; eqnAMatrix[probePointCounter + 0 * abl2] = xProbe;
eqnAMatrix[probePointCounter + 1 * abl2] = yProbe; eqnAMatrix[probePointCounter + 1 * abl2] = yProbe;
eqnAMatrix[probePointCounter + 2 * abl2] = 1; eqnAMatrix[probePointCounter + 2 * abl2] = 1;
indexIntoAB[xCount][yCount] = probePointCounter;
#else #else
bed_level[xCount][yCount] = measured_z + z_offset; bed_level[xCount][yCount] = measured_z + z_offset;
#endif #endif
indexIntoAB[xCount][yCount] = probePointCounter++; probePointCounter++;
idle(); idle();