Skip to content

Commit

Permalink
Remove call to never-defined function
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Sep 18, 2024
1 parent 341a234 commit 19f5967
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/pioasm_rotaryencoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ def value(self):

old_value = None
while True:
gen() # pylint: disable=undefined-variable

value = encoder.value
if old_value != value:
print("Encoder:", value)
Expand Down

0 comments on commit 19f5967

Please sign in to comment.