diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-10-11 15:16:33 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-10-11 15:16:33 -0400 |
commit | 74b9ff28228e3858ef4bc181a34a9acf9ca6be79 (patch) | |
tree | 97d86198073500ef287f8298d6f8df713773d037 /gpib.c | |
parent | 9f693eba66b3ff9934050fd4b5c50b7660cc3096 (diff) |
remove unused stopbit and echo settings
Diffstat (limited to 'gpib.c')
-rw-r--r-- | gpib.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -425,12 +425,12 @@ void GPIB_initialize(void) // test to detect TNT chip if ((TNT_In(R_sts2) & 0xB0) == 0x90) { - is_gpib = 1; - } else { - is_gpib = 0; - printf ("Error: TNT4882 chip not found\n"); - return; - } + is_gpib = 1; + } else { + is_gpib = 0; + printf ("Error: TNT4882 chip not found\n"); + return; + } TNT_Out(R_cmdr,F_softreset); /* Reset FIFOS */ TNT_Out(R_spmr ,0x80); /* This sequence of commands */ |