aboutsummaryrefslogtreecommitdiffstats
path: root/fw/table.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-11-08 14:30:11 -0500
committerSam Anthony <sam@samanthony.xyz>2025-11-08 14:30:11 -0500
commitd7fb6037e427aafc33b981bba2ae7d29e77d9ff0 (patch)
treebee71010f9fadb71dc622a0f8ace795520c46915 /fw/table.h
parent1e5fc7e03877d43a3376b3aefb81949ccbd6d28a (diff)
downloadcan-gauge-interface-d7fb6037e427aafc33b981bba2ae7d29e77d9ff0.zip
limit table keys to i32; add table linear interpolation
Diffstat (limited to 'fw/table.h')
-rw-r--r--fw/table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/table.h b/fw/table.h
index c1cc03d..3851f9a 100644
--- a/fw/table.h
+++ b/fw/table.h
@@ -47,4 +47,4 @@ Status tabRead(const Table *tab, U8 k, U32 *key, U16 *val);
// Lookup the value associated with given key.
// If key falls between two rows, the value is interpolated
// from the two adjacent.
-Status tabLookup(const Table *tab, Number key, U16 *val);
+Status tabLookup(const Table *tab, I32 key, U16 *val);