feat: iFlight Commando 14 support (#7494)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
Peter Feerick
parent
44b98d5bfd
commit
640fc189e7
@@ -99,6 +99,7 @@ namespace Board {
|
||||
BOARD_RADIOMASTER_MT12,
|
||||
BOARD_HELLORADIOSKY_V14,
|
||||
BOARD_HELLORADIOSKY_V14LCD,
|
||||
BOARD_IFLIGHT_COMMANDO14,
|
||||
BOARD_TYPE_COUNT,
|
||||
BOARD_TYPE_MAX = BOARD_TYPE_COUNT - 1
|
||||
};
|
||||
@@ -750,6 +751,11 @@ inline bool IS_FLYSKY_ST16(Board::Type board)
|
||||
return (board == Board::BOARD_FLYSKY_ST16);
|
||||
}
|
||||
|
||||
inline bool IS_IFLIGHT_C14(Board::Type board)
|
||||
{
|
||||
return (board == Board::BOARD_IFLIGHT_COMMANDO14);
|
||||
}
|
||||
|
||||
inline bool IS_FAMILY_PL18(Board::Type board)
|
||||
{
|
||||
return IS_FLYSKY_PL18(board) || IS_FLYSKY_PL18EV(board) || IS_FLYSKY_PL18U(board);
|
||||
@@ -835,7 +841,8 @@ inline bool IS_FAMILY_HORUS_OR_T16(Board::Type board)
|
||||
return IS_FAMILY_HORUS(board) || IS_FAMILY_T16(board) ||
|
||||
IS_FLYSKY_NV14(board)/*generally*/ || IS_FLYSKY_EL18(board)/*generally*/
|
||||
|| IS_FAMILY_PL18(board) || IS_FLYSKY_ST16(board)/*generally*/ ||
|
||||
IS_FLYSKY_PA01(board)/*generally*/ || IS_FLYSKY_NB4P(board)/*generally*/;
|
||||
IS_FLYSKY_PA01(board)/*generally*/ || IS_FLYSKY_NB4P(board)/*generally*/ ||
|
||||
IS_IFLIGHT_C14(board)/*generally*/;
|
||||
}
|
||||
|
||||
inline bool HAS_LARGE_LCD(Board::Type board)
|
||||
|
||||
Reference in New Issue
Block a user