XYZ cal. details screen fixed

This commit is contained in:
Robert Pelnar 2018-06-25 18:28:43 +02:00
parent fe9b4e5f1f
commit 3ff4105024

View file

@ -2297,7 +2297,7 @@ static void lcd_menu_xyz_skew()
float angleDiff = eeprom_read_float((float*)(EEPROM_XYZ_CAL_SKEW));
lcd_printf_P(_N(
ESC_H(0,0)
"%S: N/A\n"
"%S:\n"
"%S\n"
"%S: %5.2f\x01\n"
"%S: %5.2f\x01"
@ -2307,7 +2307,10 @@ static void lcd_menu_xyz_skew()
_i("Slight skew"), _deg(bed_skew_angle_mild),
_i("Severe skew"), _deg(bed_skew_angle_extreme)
);
if (angleDiff < 100) lcd_printf_P(_N(ESC_H(15,0)"%4.2f\x01"), _deg(angleDiff));
if (angleDiff < 100)
lcd_printf_P(_N(ESC_H(15,0)"%4.2f\x01"), _deg(angleDiff));
else
lcd_puts_P(_N(ESC_H(15,0)"N/A"));
if (lcd_clicked())
{
lcd_goto_menu(lcd_menu_xyz_offset);