summaryrefslogtreecommitdiff
path: root/gpib.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-10-11 15:16:33 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-10-11 15:16:33 -0400
commit74b9ff28228e3858ef4bc181a34a9acf9ca6be79 (patch)
tree97d86198073500ef287f8298d6f8df713773d037 /gpib.c
parent9f693eba66b3ff9934050fd4b5c50b7660cc3096 (diff)
remove unused stopbit and echo settings
Diffstat (limited to 'gpib.c')
-rw-r--r--gpib.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gpib.c b/gpib.c
index 1ad96ca..ccf72ee 100644
--- a/gpib.c
+++ b/gpib.c
@@ -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 */