Update ultralcd.cpp

Menu Support -> XYZ calibration details -> 3. obrazovka "point offset"
X value is no longer moved to the left if there’s no negative sign
This commit is contained in:
michalrudolf 2019-09-17 10:51:43 +02:00 committed by GitHub
parent 052cb61b36
commit b4e0c2f455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3023,9 +3023,9 @@ static void lcd_menu_xyz_offset()
for (uint_least8_t i = 0; i < 2; i++)
{
lcd_puts_at_P(11, i + 2, PSTR(""));
lcd_puts_at_P((cntr[i] < 0) ? 10 : 11, i + 2, PSTR(""));
lcd_print(cntr[i]);
lcd_puts_at_P((cntr[i] < 0) ? 17 : 16, i + 2, PSTR("mm"));
lcd_puts_at_P(16, i + 2, PSTR("mm"));
}
menu_back_if_clicked();
}