From 30cd6bf15d5dada5cc8e18d16ce8493204fb6dac Mon Sep 17 00:00:00 2001 From: bsongis Date: Thu, 1 Mar 2012 21:49:26 +0000 Subject: [PATCH] Mutliplier missing when trim used as a source (as if it was a slider). To use this feature, set MIXER source = THR and Trim = Offset for example. --- src/open9x.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/open9x.cpp b/src/open9x.cpp index fdb400224..efe171439 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -1304,6 +1304,7 @@ void perOut(int16_t *chanOut, uint8_t phase) } if (md->carryTrim == TRIM_OFFSET) { v = md->sOffset; + v = calc1000toRESX(v << 3); s_trimPtr[md->srcRaw-1] = &md->sOffset; // use the value stored here for the trim } }