Numerous UBL-related changes:
* relocated ubl state to config. store: * removed a number of ubl state variables and padding which were largely unused - saved 58 bytes of both SRAM and EEPROM; * modified ubl sanity_check - no longer checks removed state variables that were otherwise unused, where checking didn't seem to accomplish anything, ultimately; * removed pre_initialized state, saving 64 bytes of SRAM; * removed automatic saving of UBL state after UBL activation/deactivation; * consolidated multiple GRID_MAX_POINTS_X/Y to 'Global Leveling' section of EEPROM; * minor update to G29 Sx notes/instructions; * renamed mesh load and save parameter to 'slot' from 'm' for clarity;
This commit is contained in:
1
Marlin/Marlin_main.cpp
Normal file → Executable file
1
Marlin/Marlin_main.cpp
Normal file → Executable file
@ -8282,7 +8282,6 @@ void quickstop_stepper() {
|
||||
}
|
||||
|
||||
ubl.load_mesh(storage_slot);
|
||||
if (storage_slot != ubl.state.eeprom_storage_slot) ubl.store_state();
|
||||
ubl.state.eeprom_storage_slot = storage_slot;
|
||||
}
|
||||
#endif // AUTO_BED_LEVELING_UBL
|
||||
|
Reference in New Issue
Block a user