From c7f023c4d7e5544002f68583889f4acb0eb91847 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:33:28 -0500 Subject: first attempt at gpib listening - may not be functional --- gpib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gpib.c') diff --git a/gpib.c b/gpib.c index 2533787..32e9074 100644 --- a/gpib.c +++ b/gpib.c @@ -9,7 +9,7 @@ /* I/O */ -#define max_input_length 512 +#define max_gpib_input_length 512 #define READ_EOS_BYTE 0x00 /* EOS byte for reads/inputs/receives*/ #define WRITE_EOS_BYTE 0x00 /* EOS byte for writes/outputs/sends */ @@ -657,7 +657,7 @@ int GPIB_check_for_messages(char *gpib_buf) /* if no I/O is begin done, set up for input. Note that TLCHLTE must be set to zero, so that the */ /* HALT signal is set only by the STOP and GO commands. */ if (TNT_In(R_sts1)&B_halt) { - cnt=max_input_length-8; + cnt=max_gpib_input_length-8; gpib_buf[0]=0; INTERFACE_STATUS=0; TNT_Setup_IO(INPUT,cnt,EOI|EOS); -- cgit