From 8eb61f03bc60fb69a629d84cc21dedc0e36d65c1 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Sun, 29 Dec 2019 18:40:52 +1100 Subject: [PATCH] Fixed the double update on the rotary encoder breaking 1581 support. --- src/iec_bus.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/iec_bus.cpp b/src/iec_bus.cpp index ed05c6b..c9caca9 100644 --- a/src/iec_bus.cpp +++ b/src/iec_bus.cpp @@ -276,8 +276,6 @@ void IEC_Bus::ReadEmulationMode1581(void) IOPort* portB = 0; gplev0 = read32(ARM_GPIO_GPLEV0); - ReadGPIOUserInput(3);//check less button states, save time - portB = port; bool ATNIn = (gplev0 & PIGPIO_MASK_IN_ATN) == (invertIECInputs ? PIGPIO_MASK_IN_ATN : 0);