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

This commit is contained in:
bsongis
2012-11-04 05:41:00 +00:00
parent 5113a3f5d3
commit 0126797857
+1 -1
View File
@@ -354,7 +354,7 @@ int16_t applyCurve(int16_t x, int8_t idx)
x = -x; x = -x;
idx = -idx + CURVE_BASE - 1; idx = -idx + CURVE_BASE - 1;
} }
return intpol(x, idx - 7); return intpol(x, idx - CURVE_BASE);
} }
#else #else
#define applyCurve(x, idx) (x) #define applyCurve(x, idx) (x)