Browse Source

🩹 Apply 100% leveling correction below the bed

See #24002
FB4S_WIFI
Scott Lahteine 3 years ago
committed by Scott Lahteine
parent
commit
eada17ed69
  1. 2
      Marlin/src/module/planner.h

2
Marlin/src/module/planner.h

@ -591,7 +591,7 @@ class Planner {
*/
static float fade_scaling_factor_for_z(const_float_t rz) {
static float z_fade_factor = 1;
if (!z_fade_height) return 1;
if (!z_fade_height || rz <= 0) return 1;
if (rz >= z_fade_height) return 0;
if (last_fade_z != rz) {
last_fade_z = rz;

Loading…
Cancel
Save