From fb0f69cbe938b310a1d3e3d9697f132cb711a2ae Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Jan 1970 09:23:15 +0900 Subject: show error message on LCD if GPIB chip not detected --- instr-daemon.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'instr-daemon.c') diff --git a/instr-daemon.c b/instr-daemon.c index 8db710f..91eac0d 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -349,6 +349,11 @@ static gboolean finish_boot (void) Show_Main_Menu(); + // report error if GPIB chip not found + if (!globals.HWDetect.gpib) { + queue_error_and_display_on_LCD(GPIB_missing); + } + return FALSE; // no more calls to this function are needed } -- cgit