diff options
| author | Jacob Palecki <[email protected]> | 2020-09-22 02:28:35 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-22 02:28:35 -0700 |
| commit | 8e58892723ee10792c7d3db275da826f98d01677 (patch) | |
| tree | 25d5c35fba0734f891737aa038e882f318296353 /common | |
| parent | Merge remote-tracking branch 'upstream/Experiment' into GUI (diff) | |
| download | rawaccel-8e58892723ee10792c7d3db275da826f98d01677.tar.xz rawaccel-8e58892723ee10792c7d3db275da826f98d01677.zip | |
Mostly works
Diffstat (limited to 'common')
| -rw-r--r-- | common/accel-experimenttwo.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/accel-experimenttwo.hpp b/common/accel-experimenttwo.hpp index a961f78..b248364 100644 --- a/common/accel-experimenttwo.hpp +++ b/common/accel-experimenttwo.hpp @@ -76,7 +76,7 @@ namespace rawaccel { output += gain * 0.001; } - intercept = gain * lookup_speed - output; + intercept = output - gain * lookup_speed; lookup[i] = { gain, intercept }; } |