From f8595f0ff856552d4946f2cd6d0cc0020f293f9b Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 1 Jul 2023 21:45:50 -0700 Subject: [PATCH] happy java tests --- firmware/integration/LiveData.yaml | 10 +++++----- .../src/main/java/com/rusefi/ldmp/StateDictionary.java | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/firmware/integration/LiveData.yaml b/firmware/integration/LiveData.yaml index 67fae0384d..3d156a033f 100644 --- a/firmware/integration/LiveData.yaml +++ b/firmware/integration/LiveData.yaml @@ -37,11 +37,6 @@ Usages: folder: controllers/engine_cycle output_name: knock - - name: throttle_model - java: ThrottleModel.java - folder: controllers/math - output_name: throttle_model - - name: high_pressure_fuel_pump java: HighPressureFuelPump.java folder: controllers/engine_cycle @@ -158,6 +153,11 @@ Usages: folder: controllers/sensors prepend: integration/rusefi_config_shared.txt + - name: throttle_model + java: ThrottleModel.java + folder: controllers/math + output_name: throttle_model + - name: vvt java: VvtState.java folder: controllers/actuators diff --git a/java_console/io/src/main/java/com/rusefi/ldmp/StateDictionary.java b/java_console/io/src/main/java/com/rusefi/ldmp/StateDictionary.java index c26c35a871..e9682fb5f8 100644 --- a/java_console/io/src/main/java/com/rusefi/ldmp/StateDictionary.java +++ b/java_console/io/src/main/java/com/rusefi/ldmp/StateDictionary.java @@ -47,7 +47,8 @@ public enum StateDictionary { register(live_data_e.LDS_antilag_system_state, AntilagSystem.VALUES, "antilag_system"); register(live_data_e.LDS_dc_motors, DcMotors.VALUES, "dc_motors"); register(live_data_e.LDS_sent_state, SentState.VALUES, "sent"); - register(live_data_e.LDS_throttle_model, ThrottleModel.VALUES, "throttle_model"); + register(live_data_e.LDS_throttle_model, ThrottleModel.VALUES, "throttle_model"); + register(live_data_e.LDS_vvt, VvtState.VALUES, "vvt"); if (map.size() != live_data_e.values().length) { Set missing = new HashSet<>(Arrays.asList(live_data_e.values())); missing.removeAll(map.keySet());