We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36fb501 commit 5dc96aeCopy full SHA for 5dc96ae
lib/bus/iec/iec.cpp
@@ -91,9 +91,13 @@ void IRAM_ATTR systemBus::cbm_on_clk_isr_handler()
91
case IEC_LISTEN:
92
case IEC_TALK:
93
if (dev == IEC_ALLDEV || !isDeviceEnabled(dev)) {
94
- // Handle releaseLines() when ATN is released outside of this
95
- // interrupt to prevent watchdog timeout
96
- IEC_SET_STATE(BUS_RELEASE);
+ if (cmd == IEC_TALK) {
+ // Handle releaseLines() when ATN is released outside of this
+ // interrupt to prevent watchdog timeout
97
+ IEC_SET_STATE(BUS_RELEASE);
98
+ }
99
+ else
100
+ releaseLines();
101
sendInput();
102
}
103
else {
0 commit comments