diff options
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 */ |