EGT on CAN
This commit is contained in:
parent
a32b2e717b
commit
1770ce8753
|
@ -210,6 +210,15 @@ static void populateFrame(Cams& msg) {
|
||||||
msg.Bank2ExhaustTarget = engine->outputChannels.vvtTargets[3];
|
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() {
|
void sendCanVerbose() {
|
||||||
auto base = engineConfiguration->verboseCanBaseAddress;
|
auto base = engineConfiguration->verboseCanBaseAddress;
|
||||||
auto isExt = engineConfiguration->rusefiVerbose29b;
|
auto isExt = engineConfiguration->rusefiVerbose29b;
|
||||||
|
|
Loading…
Reference in New Issue