mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 05:48:43 +00:00
Fix undefined abl_points
This commit is contained in:
parent
d92decb774
commit
158b26b875
@ -97,6 +97,14 @@ public:
|
||||
int abl_probe_index;
|
||||
#endif
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR)
|
||||
int abl_points;
|
||||
#elif ENABLED(AUTO_BED_LEVELING_3POINT)
|
||||
static constexpr int abl_points = 3;
|
||||
#elif ABL_USES_GRID
|
||||
static constexpr int abl_points = GRID_MAX_POINTS;
|
||||
#endif
|
||||
|
||||
#if ABL_USES_GRID
|
||||
|
||||
xy_int8_t meshCount;
|
||||
@ -113,14 +121,6 @@ public:
|
||||
static constexpr xy_uint8_t grid_points = { GRID_MAX_POINTS_X, GRID_MAX_POINTS_Y };
|
||||
#endif
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR)
|
||||
int abl_points;
|
||||
#elif ENABLED(AUTO_BED_LEVELING_3POINT)
|
||||
static constexpr int abl_points = 3;
|
||||
#else
|
||||
static constexpr int abl_points = GRID_MAX_POINTS;
|
||||
#endif
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||
float Z_offset;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user