This commit is contained in:
Knutwurst
2021-06-25 09:19:15 +02:00
parent 28f97829c2
commit b98627d095

View File

@@ -2070,7 +2070,9 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
float value = constrain(CodeValue(),-1.0,1.0);
probe.offset.z += value;
for (x = 0; x < GRID_MAX_POINTS_X; x++) {
for (y = 0; y < GRID_MAX_POINTS_Y; y++) z_values[x][y] += value;
for (y = 0; y < GRID_MAX_POINTS_Y; y++) {
z_values[x][y] += value;
}
}
set_bed_leveling_enabled(true);
refresh_bed_level();