Skip to content

Commit

Permalink
Merge pull request #70 from adafruit/fix-rotaryencoder-example
Browse files Browse the repository at this point in the history
Remove call to never-defined function
  • Loading branch information
jepler authored Sep 18, 2024
2 parents 341a234 + 19f5967 commit 2b21992
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 2b21992

Please sign in to comment.