Fixes #2407 - Good catch!

This commit is contained in:
bsongis
2015-07-03 15:15:44 +02:00
parent 22f598cdac
commit 332ac86069
+3 -1
View File
@@ -139,7 +139,6 @@ enum Mix216Sources {
MIXSRC216_FIRST_TELEM,
};
enum Telemetry216Source {
TELEM216_NONE,
TELEM216_TX_VOLTAGE,
@@ -1002,6 +1001,9 @@ void ConvertModel_216_to_217(ModelData &model)
sw.v1 = ConvertSwitch_216_to_217(sw.v1);
sw.v2 = ConvertSwitch_216_to_217(sw.v2);
}
else if (cstate == LS_FAMILY_EDGE) {
sw.v1 = ConvertSwitch_216_to_217(sw.v1);
}
sw.andsw = ConvertSwitch_216_to_217(sw.andsw);
}
for (int i=0; i<NUM_CFN; i++) {