Remove call to never-defined function

This commit is contained in:
Jeff Epler 2024-09-18 15:02:02 -05:00
parent 341a234f0a
commit 19f5967fbd

View file

@ -110,8 +110,6 @@ encoder = IncrementalEncoder(board.GP2, board.GP3)
old_value = None
while True:
gen() # pylint: disable=undefined-variable
value = encoder.value
if old_value != value:
print("Encoder:", value)