1
0
Fork 0

allow LINE_PINxx for Teensy 4.x pins (#13247)

fixes https://github.com/qmk/qmk_firmware/issues/13052
This commit is contained in:
Michael Stapelberg 2021-06-20 00:21:56 +02:00 committed by GitHub
parent 8dc036c2e4
commit 7c5ef4060e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View file

@ -146,6 +146,9 @@ def _pin_name(pin):
elif pin[0] in 'ABCDEFGHIJK' and pin[1].isdigit():
return pin
elif pin.startswith('LINE_PIN'):
return pin
raise ValueError(f'Invalid pin: {pin}')