From c710e80bc5be46ea0a1d269849d3b88065cc6fb9 Mon Sep 17 00:00:00 2001 From: PavelSindler <sindlerpa@gmail.com> Date: Mon, 27 Feb 2017 17:55:05 +0100 Subject: [PATCH] Three digit farm numbers support --- Firmware/ultralcd_implementation_hitachi_HD44780.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Firmware/ultralcd_implementation_hitachi_HD44780.h b/Firmware/ultralcd_implementation_hitachi_HD44780.h index 66bfc9e9..21f77c73 100644 --- a/Firmware/ultralcd_implementation_hitachi_HD44780.h +++ b/Firmware/ultralcd_implementation_hitachi_HD44780.h @@ -757,7 +757,7 @@ static void lcd_implementation_status_screen() } } - // Farm number display + // Farm number display if (farm_mode) { lcd_printPGM(PSTR(" F")); @@ -775,6 +775,10 @@ static void lcd_implementation_status_screen() } } + else { + lcd.setCursor(LCD_WIDTH - 8 - 2, 2); + lcd_printPGM(PSTR(" ")); + } #ifdef SNMM lcd_printPGM(PSTR(" E")); @@ -783,8 +787,8 @@ static void lcd_implementation_status_screen() #endif //Print time elapsed - lcd.setCursor(LCD_WIDTH - 8 -2, 2); - lcd_printPGM(PSTR(" ")); + lcd.setCursor(LCD_WIDTH - 8 -1, 2); + lcd_printPGM(PSTR(" ")); lcd.print(LCD_STR_CLOCK[0]); if(starttime != 0) {