Merge pull request #2403 from leptun/MK3_unknown_Z_mark

Show ? near Z value if the position is unknown
This commit is contained in:
DRracer 2020-01-08 14:55:37 +01:00 committed by GitHub
commit df300a2488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -586,7 +586,7 @@ void lcdui_print_Z_coord(void)
if (custom_message_type == CustomMsg::MeshBedLeveling)
lcd_puts_P(_N("Z --- "));
else
lcd_printf_P(_N("Z%6.2f "), current_position[Z_AXIS]);
lcd_printf_P(_N("Z%6.2f%c"), current_position[Z_AXIS], axis_known_position[Z_AXIS]?' ':'?');
}
#ifdef PLANNER_DIAGNOSTICS