Issue #731 fixed (companion Inputs import bug)

This commit is contained in:
Bertrand Songis
2014-02-22 10:37:07 +01:00
parent 0f373353c7
commit 7ebd371ab6
@@ -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));