Detected gear and wastegate position to CAN format

This commit is contained in:
rusefillc 2023-04-30 11:50:00 -04:00
parent 3ba9a45b0f
commit 8b5c68b0de
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ Release template (copy/paste this for new release):
- CJ125 support removed
### Added
- Wastegate position to CAN format
- Detected gear and wastegate position to CAN format
- Pause closed loop fuel after cuts
- More trigger UI tweaks
- Lua memory leak detection and prevention

View File

@ -47,7 +47,7 @@ static void populateFrame(Status& msg) {
msg.checkEngine = enginePins.checkEnginePin.getLogicValue();
msg.o2Heater = enginePins.o2heater.getLogicValue();
msg.gear = 0;// not yet Sensor::getOrZero(SensorType::DetectedGear);
msg.gear = Sensor::getOrZero(SensorType::DetectedGear);
}
struct Speeds {