Reserve gyro data for Horus

This commit is contained in:
Kilrah
2019-05-19 09:52:32 +02:00
parent 57a317963c
commit a13a566a19
2 changed files with 2 additions and 2 deletions
@@ -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"));
}
+1 -1
View File
@@ -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;