From 1ce6981b53974d643e1b0abcf1d0d3b8d611a624 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Wed, 3 Nov 2021 22:40:43 -0700 Subject: [PATCH] rusefi data --- firmware/can.cpp | 6 ++++++ firmware/can.h | 1 + 2 files changed, 7 insertions(+) diff --git a/firmware/can.cpp b/firmware/can.cpp index 1f50ea6..98e9b35 100644 --- a/firmware/can.cpp +++ b/firmware/can.cpp @@ -16,6 +16,7 @@ void CanTxThread(void*) while(1) { SendEmulatedAemXseries(configuration.CanIndexOffset); + SendRusefiFormat(configuration.CanIndexOffset); chThdSleepMilliseconds(10); } @@ -146,6 +147,11 @@ void SendEmulatedAemXseries(uint8_t idx) { frame[4] = (int)(GetNernstDc() * 200); } +void SendRusefiFormat(uint8_t idx) +{ + +} + void SendCanData(float lambda, uint16_t measuredResistance) { CanTxTyped frame(0x130); diff --git a/firmware/can.h b/firmware/can.h index 2e630e6..553e65e 100644 --- a/firmware/can.h +++ b/firmware/can.h @@ -5,3 +5,4 @@ void InitCan(); void SendCanData(float lambda, uint16_t measuredResistance); void SendEmulatedAemXseries(uint8_t idx); +void SendRusefiFormat(uint8_t idx);