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:
4
Marlin/Configuration_adv.h
Normal file → Executable file
4
Marlin/Configuration_adv.h
Normal file → Executable file
@ -666,6 +666,10 @@
|
||||
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
|
||||
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
|
||||
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
|
||||
|
||||
// If this is defined, the currently active mesh will be saved in the
|
||||
// current slot on M500.
|
||||
#define UBL_SAVE_ACTIVE_ON_M500
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
|
Reference in New Issue
Block a user