summaryrefslogtreecommitdiff
path: root/gpib.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:33:28 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:33:28 -0500
commitc7f023c4d7e5544002f68583889f4acb0eb91847 (patch)
treec088ea6975bd4e599310b0166b03bc2a911af55d /gpib.c
parent6d29a3599123e2aaa6f3cc0b416b59197e6599d5 (diff)
first attempt at gpib listening - may not be functional
Diffstat (limited to 'gpib.c')
-rw-r--r--gpib.c4
1 files changed, 2 insertions, 2 deletions
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);