Merge branch 'next' of https://github.com/opentx/opentx into next

This commit is contained in:
Jacek Drewniak
2014-02-22 10:47:17 +01:00
4 changed files with 2406 additions and 2420 deletions
@@ -896,7 +896,12 @@ class ExpoField: public TransformedField {
virtual void afterImport()
{
expo.weight = smallGvarToC9x(_weight);
if (IS_TARANIS(board) && version < 216) {
expo.srcRaw = RawSource(SOURCE_TYPE_STICK, expo.chn);
}
expo.weight = smallGvarToC9x(_weight);
if (!IS_TARANIS(board) || version < 216) {
if (!_curveMode)
expo.curve = CurveReference(CurveReference::CURVE_REF_EXPO, smallGvarToC9x(_curveParam));
+4 -1
View File
@@ -83,7 +83,10 @@ void InputsPanel::update()
curDest = md->chn;
}
else {
str = " ";
if (GetEepromInterface()->getCapability(VirtualInputs))
str = " ";
else
str = " ";
}
if (GetEepromInterface()->getCapability(VirtualInputs)) {
File diff suppressed because it is too large Load Diff
+1
View File
@@ -610,6 +610,7 @@ void ConvertModel_215_to_216(ModelData &model)
for (uint8_t i=0; i<9; i++) {
memcpy(&g_model.phaseData[i], &oldModel.phaseData[i], sizeof(oldModel.phaseData[i])); // the last 4 gvars will remain blank
g_model.phaseData[i].swtch = ConvertSwitch_215_to_216(oldModel.phaseData[i].swtch);
#if defined(PCBTARANIS)
for (uint8_t t=0; t<4; t++) {
int trim = oldModel.phaseData[i].trim[t];