use planner.z_fade_height, etc. instead of private, ubl-specific g29 fade height
This commit is contained in:
parent
e66d9f1313
commit
88649b06a6
4 changed files with 12 additions and 33 deletions
8
Marlin/ubl.cpp
Normal file → Executable file
8
Marlin/ubl.cpp
Normal file → Executable file
|
|
@ -90,14 +90,6 @@
|
|||
|
||||
if (sanity_check())
|
||||
SERIAL_PROTOCOLLNPGM("?In load_state() sanity_check() failed.\n");
|
||||
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
const float recip = ubl.state.g29_correction_fade_height ? 1.0 / ubl.state.g29_correction_fade_height : 1.0;
|
||||
if (ubl.state.g29_fade_height_multiplier != recip) {
|
||||
ubl.state.g29_fade_height_multiplier = recip;
|
||||
store_state();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void unified_bed_leveling::load_mesh(const int16_t m) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue