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 46b1e14..4eeaa9b 100644
--- a/gpib.c
+++ b/gpib.c
@@ -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));
}