summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2012-09-28 14:45:34 +0900
committerdaniel <danieruru@gmail.com>2012-09-28 14:45:34 +0900
commit131d5ec32ca62c06f1eed9ee282bb15f814f4ba8 (patch)
treec5aa8015fd026708bcaaa5a14a63fa1de1303af0 /parser.c
parent923c8ce77ea407f3b50999447bc1d774f6a7d5e0 (diff)
parentbc066aa6f5b6c69a29109a2405e8a91c55d2fade (diff)
Merge branch 'master' of grenfell.avtechpulse.com:Instrument
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 32f8d53..86285f4 100644
--- a/parser.c
+++ b/parser.c
@@ -18,6 +18,7 @@ END DESCRIPTION **********************************************************/
#include "i2c.h"
#include "lcd.h"
#include "menus.h"
+#include "gpib.h"
#include <glib/gprintf.h>
@@ -2715,7 +2716,7 @@ static int Go_gpib_addr_59(gchar** response, int channel, char *parameter,char *
break;
case query_simple:
- return query_int (response, globals.GPIB.PRIMARY_ADDRESS);
+ return query_int (response, globals.Flash.gpib_address);
break;
case query_param: