summaryrefslogtreecommitdiff
path: root/bus.c
diff options
context:
space:
mode:
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)