[all] Fix for helping to add new curves into open9x

This commit is contained in:
bsongis
2012-11-03 22:24:19 +00:00
parent 0d591c748f
commit 5113a3f5d3
+1 -1
View File
@@ -352,7 +352,7 @@ int16_t applyCurve(int16_t x, int8_t idx)
} }
if (idx < 0) { if (idx < 0) {
x = -x; x = -x;
idx = -idx + 6; idx = -idx + CURVE_BASE - 1;
} }
return intpol(x, idx - 7); return intpol(x, idx - 7);
} }