Z-offset edit precision based on value limits (#16425)
This commit is contained in:
committed by
Scott Lahteine
parent
1ea529b9c1
commit
d129ac1b37
@@ -47,6 +47,14 @@ typedef void (*selectFunc_t)();
|
||||
void _lcd_zoffset_overlay_gfx(const float zvalue);
|
||||
#endif
|
||||
|
||||
#if Z_PROBE_OFFSET_RANGE_MIN >= -9 && Z_PROBE_OFFSET_RANGE_MAX <= 9
|
||||
#define LCD_Z_OFFSET_FUNC(N) ftostr54sign(N)
|
||||
#define LCD_Z_OFFSET_TYPE float43
|
||||
#else
|
||||
#define LCD_Z_OFFSET_FUNC(N) ftostr52sign(N)
|
||||
#define LCD_Z_OFFSET_TYPE float52
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////
|
||||
///////////// Base Menu Items //////////////
|
||||
////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user