diff options
Diffstat (limited to 'gpib.c')
-rw-r--r-- | gpib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |