diff options
Diffstat (limited to 'gpib.c')
-rw-r--r-- | gpib.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -589,9 +589,9 @@ static unsigned long int TNT_DATA_COUNT() static void TNT_Out(int reg, unsigned int byte) { - if (!globals.HWDetect.gpib) { - return; - } + if (!globals.HWDetect.gpib) { + return; + } bus_writebyte ((uint8_t) (TNT_Port + reg), (uint8_t) byte); } @@ -599,9 +599,9 @@ static void TNT_Out(int reg, unsigned int byte) static unsigned char TNT_In(int reg) { - if (!globals.HWDetect.gpib) { - return (unsigned char) 0; - } + if (!globals.HWDetect.gpib) { + return (unsigned char) 0; + } return (unsigned char) bus_readbyte ((uint8_t) (TNT_Port + reg)); } |