feat(radio): Senduwing H17 support (#7764)
Co-authored-by: 3djc <3djc@gh.com> Co-authored-by: Risto <rotorman@users.noreply.github.com>
This commit is contained in:
@@ -92,9 +92,11 @@ void BoardJson::afterLoadFixups(Board::Type board, InputsTable * inputs, Switche
|
||||
{
|
||||
// TODO json files do not contain gyro defs
|
||||
// Radio cmake directive IMU is currently used
|
||||
if (IS_TARANIS_XLITES(board) || IS_FAMILY_HORUS_OR_T16(board) ||
|
||||
IS_RADIOMASTER_TX15(board) || IS_RADIOMASTER_GX15(board) ||
|
||||
IS_RADIOMASTER_TX16SMK3(board) || IS_FLYSKY_PA01(board)) {
|
||||
// H17 has no IMU
|
||||
if ((IS_TARANIS_XLITES(board) || IS_FAMILY_HORUS_OR_T16(board) ||
|
||||
IS_RADIOMASTER_TX15(board) || IS_RADIOMASTER_GX15(board) ||
|
||||
IS_RADIOMASTER_TX16SMK3(board) || IS_FLYSKY_PA01(board)) &&
|
||||
!IS_SENDUWING_H17(board)) {
|
||||
if (getInputIndex(inputs, "TILT_X", Board::LVT_TAG) < 0) {
|
||||
InputDefn defn;
|
||||
defn.type = AIT_FLEX;
|
||||
|
||||
Reference in New Issue
Block a user