summaryrefslogtreecommitdiff
path: root/instr-daemon.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 /instr-daemon.c
parentd098bec4aad4dae2c6ecd2db6a55ae9ca4cad525 (diff)
add startup messages for LCD
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index 7f42a62..fea5664 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -7,6 +7,7 @@
#include "device-functions.h"
#include <stdlib.h>
#include <ctype.h>
+#include <glib.h>
#define STDIN_BUF_SIZE 1024
@@ -231,8 +232,17 @@ int main(int argc, char **argv)
g_type_init ();
LCD_initialize();
- bus_init();
+ LCD_write(0,0,"Starting...");
+
initFlash (&globals.Flash, 0);
+
+ gchar *message = g_strdup_printf ("%s, S/N %s", globals.Flash.model_num, globals.Flash.serial_num);
+ LCD_display_extended_message (message, 0);
+ g_free (message);
+
+ // FIXME - copy init stuff from FW411.C
+
+ bus_init();
Main_Rst();
//register stdin channel