summaryrefslogtreecommitdiff
path: root/common/rawaccel-validate.hpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-06 19:16:06 -0400
committera1xd <[email protected]>2021-09-23 22:28:44 -0400
commit39e042a799e7abf0886119ef471eaee261aa02cc (patch)
treedbd9d48073f9913ea9c7ba3d607924d832134609 /common/rawaccel-validate.hpp
parentmove safeboot check into DriverEntry (diff)
downloadrawaccel-39e042a799e7abf0886119ef471eaee261aa02cc.tar.xz
rawaccel-39e042a799e7abf0886119ef471eaee261aa02cc.zip
increase lut points capacity to 257
remove unneeded constants
Diffstat (limited to 'common/rawaccel-validate.hpp')
-rw-r--r--common/rawaccel-validate.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rawaccel-validate.hpp b/common/rawaccel-validate.hpp
index e901a8a..8b99a56 100644
--- a/common/rawaccel-validate.hpp
+++ b/common/rawaccel-validate.hpp
@@ -36,14 +36,14 @@ namespace rawaccel {
};
auto check_accel = [&error](const accel_args& args) {
- static_assert(LUT_POINTS_CAPACITY == 129, "update error msg");
+ static_assert(LUT_POINTS_CAPACITY == 257, "update error msg");
if (args.mode == accel_mode::lookup) {
if (args.length < 4) {
error("lookup mode requires at least 2 points");
}
else if (args.length > ra::LUT_RAW_DATA_CAPACITY) {
- error("too many data points (max=129)");
+ error("too many data points (max=257)");
}
}
else if (args.length > ra::LUT_RAW_DATA_CAPACITY) {