improve CAN verbose rev limit signal

This commit is contained in:
Matthew Kennedy 2024-04-15 11:45:46 -07:00 committed by rusefillc
parent 63bda2e104
commit 2ced1607f1
1 changed files with 1 additions and 1 deletions

View File

@ -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();