From 84febce7ae7e32320a108c427cb2625559ea1598 Mon Sep 17 00:00:00 2001 From: root <root@fedora-arm.domain.avtechpulse.com> Date: Fri, 31 Dec 1999 19:13:02 -0500 Subject: added more LCD startup messages --- instr-daemon.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'instr-daemon.c') 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(); -- cgit