aboutsummaryrefslogtreecommitdiffstats
path: root/fw/signal.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/signal.h
parent1e5fc7e03877d43a3376b3aefb81949ccbd6d28a (diff)
downloadcan-gauge-interface-d7fb6037e427aafc33b981bba2ae7d29e77d9ff0.zip
limit table keys to i32; add table linear interpolation
Diffstat (limited to 'fw/signal.h')
-rw-r--r--fw/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/signal.h b/fw/signal.h
index 6489c6f..ee06960 100644
--- a/fw/signal.h
+++ b/fw/signal.h
@@ -30,4 +30,4 @@ typedef struct {
// Extract the raw signal value out of a CAN frame's DATA FIELD.
// Assumes the frame's ID matches that of the signal.
-Status sigPluck(const SigFmt *sig, const CanFrame *frame, Number *raw);
+Status sigPluck(const SigFmt *sig, const CanFrame *frame, I32 *raw);