diff options
Diffstat (limited to 'lcd.c')
-rw-r--r-- | lcd.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -281,7 +281,7 @@ void LCD_initialize(void) } -void LCD_display_error_message(char *response) +void LCD_display_extended_message(char *response, gboolean show_change_message) { char *row0 = NULL; char *row1 = NULL; @@ -295,7 +295,10 @@ void LCD_display_error_message(char *response) LCD_write(0,0,row0); LCD_write(1,0,row1); LCD_write(2,0,row2); - LCD_write(3,0,Press_Change_Message); + + if (show_change_message) { + LCD_write(3,0,Press_Change_Message); + } g_free (row0); g_free (row1); |