diff options
Diffstat (limited to 'gpib.c')
-rw-r--r-- | gpib.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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); } |