summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:23:15 +0900
committerroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:23:15 +0900
commitfb0f69cbe938b310a1d3e3d9697f132cb711a2ae (patch)
tree10a9a56f04328ad7d996e6a3e3b102d31148545d /instr-daemon.c
parent4a98427b540b45ac2504546184fc42c500a058ae (diff)
show error message on LCD if GPIB chip not detectedINSTRUMENT_6_0_15
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c5
1 files changed, 5 insertions, 0 deletions
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
}