|
@@ -179,8 +179,8 @@ MarlinSettings settings;
|
179
|
179
|
#include "ubl.h"
|
180
|
180
|
#endif
|
181
|
181
|
|
182
|
|
-#if ENABLED(ABL_BILINEAR_SUBDIVISION)
|
183
|
|
- extern void bed_level_virt_interpolate();
|
|
182
|
+#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
|
183
|
+ extern void refresh_bed_level();
|
184
|
184
|
#endif
|
185
|
185
|
|
186
|
186
|
/**
|
|
@@ -218,6 +218,11 @@ void MarlinSettings::postprocess() {
|
218
|
218
|
#if HAS_BED_PROBE
|
219
|
219
|
refresh_zprobe_zoffset();
|
220
|
220
|
#endif
|
|
221
|
+
|
|
222
|
+ #if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
|
223
|
+ refresh_bed_level();
|
|
224
|
+ //set_bed_leveling_enabled(leveling_is_on);
|
|
225
|
+ #endif
|
221
|
226
|
}
|
222
|
227
|
|
223
|
228
|
#if ENABLED(EEPROM_SETTINGS)
|
|
@@ -753,10 +758,6 @@ void MarlinSettings::postprocess() {
|
753
|
758
|
EEPROM_READ(bilinear_grid_spacing); // 2 ints
|
754
|
759
|
EEPROM_READ(bilinear_start); // 2 ints
|
755
|
760
|
EEPROM_READ(bed_level_grid); // 9 to 256 floats
|
756
|
|
- #if ENABLED(ABL_BILINEAR_SUBDIVISION)
|
757
|
|
- bed_level_virt_interpolate();
|
758
|
|
- #endif
|
759
|
|
- //set_bed_leveling_enabled(leveling_is_on);
|
760
|
761
|
}
|
761
|
762
|
else // EEPROM data is stale
|
762
|
763
|
#endif // AUTO_BED_LEVELING_BILINEAR
|