From c6c4eedd5d72325eb3ab68c66f17203033df91e4 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 16 Dec 2021 16:13:59 -0500 Subject: [PATCH] live data for wastegate and launch control #3588 --- firmware/config/boards/hellen/hellen_meta.h | 9 +++++++++ java_console/build.xml | 6 +++--- .../src/main/java/com/rusefi/ldmp/StateDictionary.java | 1 + 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/firmware/config/boards/hellen/hellen_meta.h b/firmware/config/boards/hellen/hellen_meta.h index 4cb9116cd8..14f72e4873 100644 --- a/firmware/config/boards/hellen/hellen_meta.h +++ b/firmware/config/boards/hellen/hellen_meta.h @@ -77,6 +77,15 @@ // AIN20 PA7 #define H144_IN_AUX4 EFI_ADC_7 +// A1 AIN1 no code to use ADC3 as analog +#define H144_IN_SENS1 GPIOF_3 +// A2 AIN2 no code to use ADC3 as analog +#define H144_IN_SENS2 GPIOF_4 +// A3 AIN3 no code to use ADC3 as analog +#define H144_IN_SENS3 GPIOF_5 +// A4 AIN4 no code to use ADC3 as analog +#define H144_IN_SENS3 GPIOF_6 + #define H144_IN_O2S2 EFI_ADC_1 #define H144_IN_D_2 GPIOE_13 diff --git a/java_console/build.xml b/java_console/build.xml index 4900594381..0cc8dd7a5e 100644 --- a/java_console/build.xml +++ b/java_console/build.xml @@ -93,9 +93,9 @@ - - - + + + 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 3b3251981b..b861035892 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 @@ -32,6 +32,7 @@ public enum StateDictionary { register(live_data_e.LDS_TPS_ACCEL, TpsAccelState.VALUES); register(live_data_e.LDS_MAIN_RELAY, MainRelay.VALUES); register(live_data_e.LDS_BOOST_CONTROL, BoostControl.VALUES); + register(live_data_e.LDS_LAUNCH_CONTROL, LaunchControl.VALUES); if (map.size() != live_data_e.values().length) { Set missing = new HashSet<>(Arrays.asList(live_data_e.values())); missing.removeAll(map.keySet());