EGT on CAN

This commit is contained in:
Matthew Kennedy 2024-05-10 01:28:34 -04:00 committed by rusefillc
parent a32b2e717b
commit 1770ce8753
1 changed files with 9 additions and 0 deletions

View File

@ -210,6 +210,15 @@ static void populateFrame(Cams& msg) {
msg.Bank2ExhaustTarget = engine->outputChannels.vvtTargets[3];
}
struct Egts {
uint8_t egt[8];
};
static void populateFrame(Egts& msg) {
msg.egt[0] = Sensor::getOrZero(SensorType::EGT1);
msg.egt[1] = Sensor::getOrZero(SensorType::EGT2);
}
void sendCanVerbose() {
auto base = engineConfiguration->verboseCanBaseAddress;
auto isExt = engineConfiguration->rusefiVerbose29b;