summaryrefslogtreecommitdiff
path: root/gpib.c
diff options
context:
space:
mode:
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 */