Reserve gyro data for Horus
This commit is contained in:
@@ -2641,7 +2641,7 @@ OpenTxGeneralData::OpenTxGeneralData(GeneralSettings & generalData, Board::Type
|
||||
|
||||
internalField.Append(new ZCharField<8>(this, generalData.registrationId, "PXX2 Registration ID"));
|
||||
|
||||
if(IS_TARANIS_XLITES(board)) { // TODO add X12S
|
||||
if(IS_TARANIS_XLITES(board) || IS_HORUS(board)) {
|
||||
internalField.Append(new SignedField<8>(this, generalData.gyroMax, "Gyro full scale"));
|
||||
internalField.Append(new SignedField<8>(this, generalData.gyroOffset, "Gyro Offset"));
|
||||
}
|
||||
|
||||
@@ -651,7 +651,7 @@ PACK(struct TrainerData {
|
||||
#define SPLASH_MODE int8_t splashMode:3
|
||||
#endif
|
||||
|
||||
#if defined(GYRO)
|
||||
#if defined(PCBXLITES) || defined(PCBHORUS)
|
||||
#define GYRO_FIELDS \
|
||||
int8_t gyroMax; \
|
||||
int8_t gyroOffset;
|
||||
|
||||
Reference in New Issue
Block a user