mirror of https://github.com/rusefi/rusefi.git
divide, not multiply
This commit is contained in:
parent
c799184f09
commit
676f198c5f
|
@ -215,8 +215,8 @@ struct Egts {
|
|||
};
|
||||
|
||||
static void populateFrame(Egts& msg) {
|
||||
msg.egt[0] = 5 * Sensor::getOrZero(SensorType::EGT1);
|
||||
msg.egt[1] = 5 * Sensor::getOrZero(SensorType::EGT2);
|
||||
msg.egt[0] = Sensor::getOrZero(SensorType::EGT1) / 5;
|
||||
msg.egt[1] = Sensor::getOrZero(SensorType::EGT2) / 5;
|
||||
}
|
||||
|
||||
void sendCanVerbose() {
|
||||
|
|
Loading…
Reference in New Issue