Fix companion compile issue

This commit is contained in:
3djc
2020-07-23 14:11:01 +02:00
parent 0b46190900
commit da45929216
+1 -1
View File
@@ -333,7 +333,7 @@ inline bool IS_TARANIS_X9DP_2019(Board::Type board)
return (board == Board::BOARD_TARANIS_X9DP_2019);
}
inline bool IS_ACCESS_RADIO(Board::Type board, QString &id)
inline bool IS_ACCESS_RADIO(Board::Type board, const QString & id)
{
return (IS_TARANIS_XLITES(board) || IS_TARANIS_X9LITE(board) || board == Board::BOARD_TARANIS_X9DP_2019 || board == Board::BOARD_X10_EXPRESS || IS_TARANIS_X7_ACCESS(board) ||
(IS_FAMILY_HORUS_OR_T16(board) && id.contains("internalaccess")));