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

This commit is contained in:
Andre Bernet
2014-02-25 18:17:15 +01:00
208 changed files with 4928 additions and 5779 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));