summaryrefslogtreecommitdiff
path: root/gpib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpib.c')
-rw-r--r--gpib.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gpib.c b/gpib.c
index 7ef84f9..2533787 100644
--- a/gpib.c
+++ b/gpib.c
@@ -2,6 +2,7 @@
#include "globals.h"
#include "flash.h"
#include "error_utils.h"
+#include "bus.h"
/* TNT Configuration --------------------------------------------------------*/
@@ -582,15 +583,13 @@ static unsigned long int TNT_DATA_COUNT()
static void TNT_Out(int reg, unsigned int byte)
{
- ;
- // FIXME WrPortE(TNT_Port + reg, NULL, byte);
+ bus_writebyte (TNT_Port, (uint8_t) byte);
}
static unsigned char TNT_In(int reg)
{
- return 0;
- // FIXME return RdPortE(TNT_Port + reg);
+ return (unsigned char) bus_readbyte (TNT_Port);
}