Browse Source

Add comment for input.reset function

PASS1-135
coreylakey 4 years ago
parent
commit
d1495cb5f3
  1. 1
      ports/stm32/boards/Passport/modules/ux.py

1
ports/stm32/boards/Passport/modules/ux.py

@ -168,6 +168,7 @@ class KeyInputHandler:
from common import keypad
keypad.clear_keys()
# Reset internal state so that all pending kcodes and repeats are forgotten.
def reset(self):
self.time_pressed = {}
self.kcode_state = 0

Loading…
Cancel
Save