1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +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,6 +2115,7 @@ class ModuleUnionField: public UnionField<unsigned int> {
ModuleUnionField(DataField * parent, ModuleData & module, Board::Type board, unsigned int version):
UnionField<unsigned int>(parent, module.protocol)
{
if (version >= 219)
Append(new AccessField(parent, module));
Append(new PxxField(parent, module));
Append(new MultiField(parent, module));