mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 14:12:52 +00:00
🐛 Fix LCD Menu MBL Z-Offset Adjustment (#22450)
This commit is contained in:
parent
eacf1e33c4
commit
885c63c35f
1 changed files with 6 additions and 1 deletions
|
@ -278,7 +278,12 @@ void menu_bed_leveling() {
|
|||
// Mesh Bed Leveling Z-Offset
|
||||
//
|
||||
#if ENABLED(MESH_BED_LEVELING)
|
||||
EDIT_ITEM(float43, MSG_BED_Z, &mbl.z_offset, -1, 1);
|
||||
#if WITHIN(Z_PROBE_OFFSET_RANGE_MIN, -9, 9)
|
||||
#define LCD_Z_OFFSET_TYPE float43 // Values from -9.000 to +9.000
|
||||
#else
|
||||
#define LCD_Z_OFFSET_TYPE float42_52 // Values from -99.99 to 99.99
|
||||
#endif
|
||||
EDIT_ITEM(LCD_Z_OFFSET_TYPE, MSG_BED_Z, &mbl.z_offset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
|
||||
#endif
|
||||
|
||||
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
|
||||
|
|
Loading…
Reference in a new issue