wire up CAN bit for lambda protect

This commit is contained in:
Matthew Kennedy 2023-06-29 00:10:18 -07:00
parent e687adbdb8
commit 59430dfa91
1 changed files with 1 additions and 3 deletions

View File

@ -46,9 +46,7 @@ static void populateFrame(Status& msg) {
msg.fuelPump = enginePins.fuelPumpRelay.getLogicValue();
msg.checkEngine = enginePins.checkEnginePin.getLogicValue();
msg.o2Heater = enginePins.o2heater.getLogicValue();
// TODO: https://github.com/FOME-Tech/fome-fw/issues/75
msg.lambdaProtectActive = false;
msg.lambdaProtectActive = engine->lambdaMonitor.isCut();
msg.gear = Sensor::getOrZero(SensorType::DetectedGear);
}