summaryrefslogtreecommitdiff
path: root/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/globals.h b/globals.h
index 3f5bdff..13b6cc9 100644
--- a/globals.h
+++ b/globals.h
@@ -274,6 +274,8 @@ long sec_timer (void);
unsigned long long ms_timer (void);
+#define max_gpib_input_length 512
+
typedef struct {
int parallel_DAC_reg[8];
long shift_reg_out[num_out_SRs];
@@ -282,6 +284,7 @@ typedef struct {
int ques_enable_register; /* for stat:enable command */
int avrq_reg;
int last_rise_time_relay_setting;
+ char gpib_buffer[max_gpib_input_length];
} HWregStruct;