Skip to content

Commit

Permalink
Prior commit failed test. Audio Mute was assigned to the encoder push…
Browse files Browse the repository at this point in the history
… button action and was activating upon keyboard USB insertion without user interaction. Fixed this error.
  • Loading branch information
Gordon Jamieson committed Sep 28, 2023
1 parent 549e96d commit 5d4e9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kmk/modules/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def prepare_pin(self):
def get_value(self):
io = self.io
result = io.value
if digitalio.Pull.UP == io.pull:
if digitalio.Pull.UP != io.pull:
result = not result
return result

Expand Down

0 comments on commit 5d4e9b5

Please sign in to comment.