diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-23 11:37:29 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-23 11:37:29 -0400 |
commit | b7710dc5f54f8e6cb1a63b61e70cbd770504366a (patch) | |
tree | 90ff4c62705463c2fc331566b15cdd49640abce1 /instr-daemon.c | |
parent | 7bf5651a29aa2aacb253f9f713997f3dbfae93f6 (diff) |
shorter startup address message
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index 42ec97e..a8b429b 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -241,17 +241,18 @@ 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; + strcpy(info.ip,"-"); if (nicutils_infofordefaultroute(&info)) { message = g_strdup_printf ("TCP/IP address: %s", info.ip); LCD_write(2,0,message); g_free (message); } + message = g_strdup_printf ("GPIB addr %d, Eth addr %s", globals.Flash.gpib_address,info.ip); + LCD_write(2,0,message); + g_free (message); + /* start-up delay */ LCD_write(3,0,"Warming up, please wait... "); |