[all] Fix for helping to add new curves into open9x
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user