summaryrefslogtreecommitdiff
path: root/bus.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 01:42:04 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 01:42:04 +0900
commitd7f742964e475804daf0211ea0825efa4bf4bf64 (patch)
treeae3fcf045dfcef228e4eefd5ff3c888055d347e2 /bus.c
parent5abd33ec6a84efd1c963f8e5d7680ac2dd32a915 (diff)
make force_output_fully_off work properly for 2-channel unitsINSTRUMENT_6_4_07b
Diffstat (limited to 'bus.c')
-rw-r--r--bus.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bus.c b/bus.c
index ee0f8cb..72e93d5 100644
--- a/bus.c
+++ b/bus.c
@@ -418,6 +418,12 @@ void bus_setpin(int pin, int value)
if (globals.HWDetect.has_gpio) {
gpio_writevalue(gpio_pins[pin], value & 0x1);
}
+
+ if ((pin != out_CLOCK_LINE) &&
+ (pin != out_STROBE_LINE) &&
+ (pin != out_DATA_LINE)) {
+ g_print_debug ("GPIO pin %d, val %d (some pins excl)\n\r",pin,value);
+ }
}
void bus_writebyte(uint8_t address, uint8_t data)