Skip to content

Commit 786c25c

Browse files
committed
fix: fix any_lichee_riscv_board detection
1 parent f1cb7e8 commit 786c25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_platformdetect/board.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def any_tisk_board(self) -> bool:
665665
@property
666666
def any_lichee_riscv_board(self) -> bool:
667667
"""Check whether the current board is any defined Lichee RISC-V."""
668-
return self.id in [v[0] for v in boards._LICHEE_RISCV_IDS]
668+
return self.id in [v for v in boards._LICHEE_RISCV_IDS]
669669

670670
@property
671671
def any_embedded_linux(self) -> bool:

0 commit comments

Comments
 (0)