improve CAN verbose rev limit signal
This commit is contained in:
parent
63bda2e104
commit
2ced1607f1
|
@ -41,7 +41,7 @@ static void populateFrame(Status& msg) {
|
|||
msg.warningCounter = engine->engineState.warnings.warningCounter;
|
||||
msg.lastErrorCode = static_cast<uint16_t>(engine->engineState.warnings.lastErrorCode);
|
||||
|
||||
msg.revLimit = Sensor::getOrZero(SensorType::Rpm) > engineConfiguration->rpmHardLimit;
|
||||
msg.revLimit = !engine->module<LimpManager>()->allowInjection() || !engine->module<LimpManager>()->allowIgnition();
|
||||
msg.mainRelay = enginePins.mainRelay.getLogicValue();
|
||||
msg.fuelPump = enginePins.fuelPumpRelay.getLogicValue();
|
||||
msg.checkEngine = enginePins.checkEnginePin.getLogicValue();
|
||||
|
|
Loading…
Reference in New Issue