expose fuel_pump_control and other engineModules via Lua fix #5239

This commit is contained in:
Andrey 2023-06-10 21:00:25 -04:00
parent e2d02c600e
commit 18516db392
4 changed files with 6 additions and 1 deletions

View File

@ -30,6 +30,9 @@ Release template (copy/paste this for new release):
### Added
### Fixed
- fuel_pump_control is accessible as getOutput("isFuelPumpOn") in Lua #5239
## June 2023 Release "Day 466"
### Breaking Changes

View File

@ -85,6 +85,7 @@ Usages:
java: FuelPump.java
folder: controllers/actuators
output_name: fuelPump
engineModule: FuelPumpController
- name: main_relay
java: MainRelay.java

Binary file not shown.

View File

@ -140,7 +140,8 @@ public class LiveDataProcessor {
} else if (engineModule != null) {
outputValueConsumer.currentEngineModule = engineModule;
outputValueConsumer.moduleMode = true;
outputValueConsumer.conditional = conditional;
state.addDestination((state1, structure) -> outputValueConsumer.handleEndStruct(state1, structure));
}
state.addDestination(new ConfigurationConsumer() {
@Override