fix: fix any_lichee_riscv_board detection
This commit is contained in:
parent
f1cb7e8619
commit
786c25c998
1 changed files with 1 additions and 1 deletions
|
|
@ -665,7 +665,7 @@ class Board:
|
||||||
@property
|
@property
|
||||||
def any_lichee_riscv_board(self) -> bool:
|
def any_lichee_riscv_board(self) -> bool:
|
||||||
"""Check whether the current board is any defined Lichee RISC-V."""
|
"""Check whether the current board is any defined Lichee RISC-V."""
|
||||||
return self.id in [v[0] for v in boards._LICHEE_RISCV_IDS]
|
return self.id in [v for v in boards._LICHEE_RISCV_IDS]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def any_embedded_linux(self) -> bool:
|
def any_embedded_linux(self) -> bool:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue