Multi struct was misaligned

This commit is contained in:
Kilrah
2019-09-12 20:01:48 +02:00
parent 42817d549d
commit 34ac3f53a6
@@ -2028,9 +2028,9 @@ class ModuleUnionField: public UnionField<unsigned int> {
ModuleData::Multi& multi = module.multi;
internalField.Append(new UnsignedField<2>(this, rfProtExtra));
internalField.Append(new SpareBitsField<3>(this));
internalField.Append(new BoolField<1>(this, multi.customProto));
internalField.Append(new BoolField<1>(this, multi.autoBindMode));
internalField.Append(new BoolField<1>(this, multi.lowPowerMode));
internalField.Append(new BoolField<1>(this, multi.customProto));
internalField.Append(new SignedField<8>(this, multi.optionValue));
}