Show ? near Z value if the position is unknown

This commit is contained in:
Alex Voinea 2020-01-08 13:46:51 +02:00
parent 955c88cf68
commit 9abdf4e535
No known key found for this signature in database
GPG key ID: F5034E7CFCF2F973

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