|
@@ -63,8 +63,8 @@ class MarlinSettings {
|
63
|
63
|
|
64
|
64
|
#if ENABLED(AUTO_BED_LEVELING_UBL) // Eventually make these available if any leveling system
|
65
|
65
|
// That can store is enabled
|
66
|
|
- static int16_t meshes_start_index();
|
67
|
|
- FORCE_INLINE static int16_t meshes_end_index() { return meshes_end; }
|
|
66
|
+ static uint16_t meshes_start_index();
|
|
67
|
+ FORCE_INLINE static uint16_t meshes_end_index() { return meshes_end; }
|
68
|
68
|
static uint16_t calc_num_meshes();
|
69
|
69
|
static int mesh_slot_offset(const int8_t slot);
|
70
|
70
|
static void store_mesh(const int8_t slot);
|
|
@@ -98,8 +98,8 @@ class MarlinSettings {
|
98
|
98
|
|
99
|
99
|
#if ENABLED(AUTO_BED_LEVELING_UBL) // Eventually make these available if any leveling system
|
100
|
100
|
// That can store is enabled
|
101
|
|
- static constexpr int16_t meshes_end = E2END - 128; // 128 is a placeholder for the size of the MAT; the MAT will always
|
102
|
|
- // live at the very end of the eeprom
|
|
101
|
+ static constexpr uint16_t meshes_end = E2END - 128; // 128 is a placeholder for the size of the MAT; the MAT will always
|
|
102
|
+ // live at the very end of the eeprom
|
103
|
103
|
|
104
|
104
|
#endif
|
105
|
105
|
|