mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-17 17:35:30 +00:00
Remove the redundant pin name validation (#13251)
* remove the redundant pin name validation * fix submodules
This commit is contained in:
parent
e87d231645
commit
df794fa5cc
1 changed files with 1 additions and 7 deletions
|
@ -143,13 +143,7 @@ def _pin_name(pin):
|
|||
elif pin == 'NO_PIN':
|
||||
return None
|
||||
|
||||
elif pin[0] in 'ABCDEFGHIJK' and pin[1].isdigit():
|
||||
return pin
|
||||
|
||||
elif pin.startswith('LINE_PIN'):
|
||||
return pin
|
||||
|
||||
raise ValueError(f'Invalid pin: {pin}')
|
||||
return pin
|
||||
|
||||
|
||||
def _extract_pins(pins):
|
||||
|
|
Loading…
Reference in a new issue