summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:13:02 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:13:02 -0500
commit84febce7ae7e32320a108c427cb2625559ea1598 (patch)
tree7f708b0407fad8a6007aed191280656b7f435daf /instr-daemon.c
parentcaa8ad5d4afb0781ea5ad002d0ce5c01c233cfd9 (diff)
added more LCD startup messages
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c20
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();