Skip to content

Commit

Permalink
Removed unused argument from callback (bugfix)
Browse files Browse the repository at this point in the history
  • Loading branch information
hifiberry committed May 21, 2024
1 parent 743f1ab commit 42a19c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ac2/plugins/control/powercontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def run(self):
while not self.finished:
# Blocks until at least one event is available
for event in request.read_edge_events():
self.interrupt_callback(None)
self.interrupt_callback()
except Exception as e:
logging.error("Error during event wait or callback: %s", e)
self.finished = True

0 comments on commit 42a19c6

Please sign in to comment.