Skip to content

Commit

Permalink
read interrupt register on start, fixes issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Preston committed Mar 7, 2014
1 parent c0c1027 commit 1306c07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pifacedigital_emulator/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ class InputWatcher(QObject):
def __init__(self, emu_window):
super().__init__()
self.emu_window = emu_window
cap = emu_window.pifacedigital.intcapb.value # clear interrupt
self.event_listeners = list()
for i in range(NUM_PIFACE_DIGITALS):
listener = pifacedigitalio.InputEventListener(
Expand Down

0 comments on commit 1306c07

Please sign in to comment.