shifting cursor position for printing "mm" in xyz details menu

This commit is contained in:
PavelSindler 2017-06-21 16:50:49 +02:00
parent 247e1bc1e3
commit 05bfa39df1
1 changed files with 1 additions and 1 deletions

View File

@ -1359,7 +1359,7 @@ void lcd_service_mode_show_result() {
if(distance_from_min[i] < 200) {
lcd_print_at_PGM(8, i + 1, PSTR(""));
lcd.print(distance_from_min[i]);
lcd_print_at_PGM(13, i + 1, PSTR("mm"));
lcd_print_at_PGM((distance_from_min[i] < 0) ? 14 : 13, i + 1, PSTR("mm"));
} else lcd_print_at_PGM(8, i + 1, PSTR("N/A"));
}
delay_keep_alive(500);