diff options
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index fea5664..a84dda8 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -5,6 +5,7 @@ #include "globals.h" #include "bus.h" #include "device-functions.h" +#include "nicutils.h" #include <stdlib.h> #include <ctype.h> #include <glib.h> @@ -240,6 +241,25 @@ int main(int argc, char **argv) LCD_display_extended_message (message, 0); g_free (message); + message = g_strdup_printf ("Starting comm ports... GPIB Address: %d", globals.Flash.gpib_address); + LCD_write(1,0,message); + g_free (message); + + nicinfo info; + if (nicutils_infofordefaultroute(&info)) { + message = g_strdup_printf ("TCP/IP address: %s", info.ip); + LCD_write(2,0,message); + g_free (message); + } + + + /* start-up delay */ + LCD_write(3,0,"Warming up, please wait... "); + int max_timer = (long) globals.Flash.turn_on_dly; + /* FIXME - start-up delay here */ + LCD_write(3,27,"OK"); + + // FIXME - copy init stuff from FW411.C bus_init(); |