From d7fb6037e427aafc33b981bba2ae7d29e77d9ff0 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 8 Nov 2025 14:30:11 -0500 Subject: limit table keys to i32; add table linear interpolation --- fw/table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fw/table.h') 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); -- cgit v1.2.3