Alway end at the same point
Always end at [RIGHT_PROBE_BED_POSITION, BACK_PROBE_BED_POSITION] Regardles the evennes of auto_bed_leveling_grid_points.
This commit is contained in:
parent
4ca8f4a9a7
commit
d8860f9ad9
@ -2565,7 +2565,7 @@ inline void gcode_G28() {
|
|||||||
#endif // !DELTA
|
#endif // !DELTA
|
||||||
|
|
||||||
int probePointCounter = 0;
|
int probePointCounter = 0;
|
||||||
bool zig = true;
|
bool zig = (auto_bed_leveling_grid_points & 1) ? true : false; //always end at [RIGHT_PROBE_BED_POSITION, BACK_PROBE_BED_POSITION]
|
||||||
|
|
||||||
for (int yCount = 0; yCount < auto_bed_leveling_grid_points; yCount++) {
|
for (int yCount = 0; yCount < auto_bed_leveling_grid_points; yCount++) {
|
||||||
double yProbe = front_probe_bed_position + yGridSpacing * yCount;
|
double yProbe = front_probe_bed_position + yGridSpacing * yCount;
|
||||||
|
Loading…
Reference in New Issue
Block a user