summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-07-28 02:09:21 -0700
committerJacob Palecki <[email protected]>2020-07-28 02:09:21 -0700
commitf7a1883e4d26ebb2904518236656d53d8b5645b7 (patch)
tree8262c255dcfe83ada2cd707290566f94cba48740 /driver
parentFurther refactoring and comments (diff)
downloadrawaccel-f7a1883e4d26ebb2904518236656d53d8b5645b7.tar.xz
rawaccel-f7a1883e4d26ebb2904518236656d53d8b5645b7.zip
Remove extra mode from variables
Diffstat (limited to 'driver')
-rw-r--r--driver/driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/driver.cpp b/driver/driver.cpp
index e77ac5f..5523f28 100644
--- a/driver/driver.cpp
+++ b/driver/driver.cpp
@@ -83,7 +83,7 @@ Arguments:
DebugPrint(("RA time < min with %d ticks\n", ticks));
}
- input = global.vars.accel_fn(input, time, global.vars.accel_mode);
+ input = global.vars.accel_fn(input, time);
}
double result_x = input.x * global.vars.sensitivity.x + local_carry.x;