From 95d14ad170a04658b0f261c497321be53ee62440 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 28 Nov 2020 02:56:34 -0800 Subject: [PATCH] correct CAN --- firmware/can.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/can.cpp b/firmware/can.cpp index f8c8bef..6f39618 100644 --- a/firmware/can.cpp +++ b/firmware/can.cpp @@ -25,6 +25,6 @@ void SendCanData(float lambda, uint16_t measuredResistance) { CanTxTyped frame(0x130); - frame.get().lambda = lambda / 1000.0f; + frame.get().lambda = lambda * 10000; frame.get().measuredResistance = measuredResistance; }