From b5ae653d6071951e24eb88c40e84e84241bc97f3 Mon Sep 17 00:00:00 2001 From: Dave Ginsbach Date: Sun, 12 Feb 2023 23:31:05 +0100 Subject: [PATCH] Update can_processor.cpp the mixed circuit message is 2 bytes long where the second byte carries the temperature in half-steps --- src/can_processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/can_processor.cpp b/src/can_processor.cpp index 49002e1..4118439 100644 --- a/src/can_processor.cpp +++ b/src/can_processor.cpp @@ -345,7 +345,7 @@ void processCan() // Value: Data / 2.0 if (Message.id == configuration.CanAddresses.MixedCircuit.FeedSetpoint) { - temp = Message.data[0] / 2.0; + temp = Message.data[1] / 2.0; ceraValues.MixedCircuit.FeedSetpoint = temp; }