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.

This commit is contained in:
bsongis
2012-03-01 21:49:26 +00:00
parent bd7ab010ca
commit 30cd6bf15d
+1
View File
@@ -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
}
}