From d7f742964e475804daf0211ea0825efa4bf4bf64 Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 1 Jan 2000 01:42:04 +0900 Subject: make force_output_fully_off work properly for 2-channel units --- bus.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bus.c') 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) -- cgit