Issue #801 fixed

This commit is contained in:
bsongis
2014-03-17 12:00:36 +01:00
parent 9af0639b76
commit c3e0d1967b
@@ -1012,11 +1012,17 @@ class InputField: public TransformedField {
virtual void afterImport() virtual void afterImport()
{ {
if (IS_TARANIS(board) && version < 216) { if (IS_TARANIS(board)) {
if (version < 216) {
if (expo.mode) { if (expo.mode) {
expo.srcRaw = RawSource(SOURCE_TYPE_STICK, expo.chn); expo.srcRaw = RawSource(SOURCE_TYPE_STICK, expo.chn);
} }
} }
else {
if (expo.srcRaw.type != SOURCE_TYPE_NONE)
expo.mode = 3;
}
}
expo.weight = smallGvarToC9x(_weight); expo.weight = smallGvarToC9x(_weight);