summaryrefslogtreecommitdiff
path: root/lcd.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-23 10:22:29 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-23 10:22:29 -0400
commitcaa8ad5d4afb0781ea5ad002d0ce5c01c233cfd9 (patch)
tree038763f9e90ffb59030ccdc4b54e935eb41a2354 /lcd.c
parentd098bec4aad4dae2c6ecd2db6a55ae9ca4cad525 (diff)
add startup messages for LCD
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);