diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-11-08 14:30:11 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-11-08 14:30:11 -0500 |
| commit | d7fb6037e427aafc33b981bba2ae7d29e77d9ff0 (patch) | |
| tree | bee71010f9fadb71dc622a0f8ace795520c46915 /fw/table.h | |
| parent | 1e5fc7e03877d43a3376b3aefb81949ccbd6d28a (diff) | |
| download | can-gauge-interface-d7fb6037e427aafc33b981bba2ae7d29e77d9ff0.zip | |
limit table keys to i32; add table linear interpolation
Diffstat (limited to 'fw/table.h')
| -rw-r--r-- | fw/table.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |