Bugfix
This commit is contained in:
parent
80304ae65c
commit
0b588ea3cb
@ -129,7 +129,7 @@ void loop() {
|
||||
float x2 = sensitivities[p][i] * sensitivities[p][i];
|
||||
float x3 = x2 * sensitivities[p][i];
|
||||
float x4 = x3 * sensitivities[p][i];
|
||||
float v = 1.0 + sensitivities[p][i] + 0.5 * x2 + 0.166667 * x3;
|
||||
float v = power[p][i] * (1.0 + sensitivities[p][i] + 0.5 * x2 + 0.166667 * x3);
|
||||
axisValues[p][i] = AXIS_RANGE * (v >= MAX_THRES ? 1 : (v / MAX_THRES));
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user