summaryrefslogtreecommitdiff
path: root/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcd.c')
-rw-r--r--lcd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lcd.c b/lcd.c
index 36901a1..de02525 100644
--- a/lcd.c
+++ b/lcd.c
@@ -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);