1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

fixed module union import for pre-219 eeproms

This commit is contained in:
Raphael Coeffic 2019-08-23 08:31:50 +02:00
parent db2130cedc
commit b036d2a3f7

View file

@ -2115,7 +2115,8 @@ class ModuleUnionField: public UnionField<unsigned int> {
ModuleUnionField(DataField * parent, ModuleData & module, Board::Type board, unsigned int version):
UnionField<unsigned int>(parent, module.protocol)
{
Append(new AccessField(parent, module));
if (version >= 219)
Append(new AccessField(parent, module));
Append(new PxxField(parent, module));
Append(new MultiField(parent, module));
Append(new PPMField(parent, module.ppm));