diff options
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 12 |
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 |