Fixes #1467 - Check your mixes on Sky9x / 9XR-PRO especially if you used

mix warnings!
This commit is contained in:
bsongis
2014-07-07 22:55:52 +02:00
parent f2f8419da1
commit 3fc18b1cf7
2 changed files with 4 additions and 4 deletions
@@ -867,8 +867,8 @@ class MixField: public TransformedField {
internalField.Append(new SpareBitsField<8>());
}
else if (IS_ARM(board) && version >= 216) {
internalField.Append(new UnsignedField<4>(_destCh));
internalField.Append(new UnsignedField<4>(mix.mixWarn));
internalField.Append(new UnsignedField<5>(_destCh));
internalField.Append(new UnsignedField<3>(mix.mixWarn));
internalField.Append(new UnsignedField<16>(mix.phases));
internalField.Append(new BoolField<1>(_curveMode));
internalField.Append(new BoolField<1>(mix.noExpo));
+2 -2
View File
@@ -609,8 +609,8 @@ PACK(typedef struct {
}) MixData;
#else
PACK(typedef struct {
uint8_t destCh:4;
uint8_t mixWarn:4; // mixer warning
uint8_t destCh:5;
uint8_t mixWarn:3; // mixer warning
uint16_t flightModes;
uint8_t curveMode:1;
uint8_t noExpo:1;