summaryrefslogtreecommitdiff
path: root/gpib.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:03:59 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:03:59 -0500
commite153488780f86cf6f647b814f8ff6f3a535a0d7e (patch)
tree456c0f07f0d973cfc92dae357cdfb03309f5efa3 /gpib.c
parent60c5196e62175458615117aab397aaac9ccda5a1 (diff)
astyle fixes
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));
}