Merge pull request #874 from XPila/MK3

XYZ cal. details screen fixed
This commit is contained in:
XPila 2018-06-25 18:29:58 +02:00 committed by GitHub
commit 01f04cc406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);