[libretiny] Fix board pin alias resolution TypeError (#15527)
This commit is contained in:
1 parent
ee7b38504b
commit
0d7f2f05b9
1 file changed
+1
-1
@@ -41,7 +41,7 @@ def _lookup_board_pins(board):
|
||||
board_pins = component.board_pins.get(board, {})
|
||||
# Resolve aliased board pins (shorthand when two boards have the same pin configuration)
|
||||
while isinstance(board_pins, str):
|
||||
board_pins = board_pins[board_pins]
|
||||
board_pins = component.board_pins[board_pins]
|
||||
return board_pins
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user