diff --git a/firmware/controllers/algo/rusefi_types.h b/firmware/controllers/algo/rusefi_types.h index 886da19955..907ca59f4b 100644 --- a/firmware/controllers/algo/rusefi_types.h +++ b/firmware/controllers/algo/rusefi_types.h @@ -125,6 +125,7 @@ using script_setting_t = float; using brain_input_pin_e = brain_pin_e; using switch_input_pin_e = brain_pin_e; +using sent_input_pin_e = brain_pin_e; using output_pin_e = brain_pin_e; typedef void (*VoidPtr)(void*); diff --git a/java_tools/configuration_definition/src/main/java/com/rusefi/pinout/PinoutLogic.java b/java_tools/configuration_definition/src/main/java/com/rusefi/pinout/PinoutLogic.java index 48cd2b3eaa..0f180d8830 100644 --- a/java_tools/configuration_definition/src/main/java/com/rusefi/pinout/PinoutLogic.java +++ b/java_tools/configuration_definition/src/main/java/com/rusefi/pinout/PinoutLogic.java @@ -48,10 +48,10 @@ public class PinoutLogic { return; } Map> names = new HashMap<>(); - names.put("outputs", new ArrayList<>()); - names.put("analog_inputs", new ArrayList<>()); - names.put("event_inputs", new ArrayList<>()); - names.put("switch_inputs", new ArrayList<>()); + names.put(PinType.OUTPUTS.name().toLowerCase(), new ArrayList<>()); + names.put(PinType.ANALOG_INPUTS.name().toLowerCase(), new ArrayList<>()); + names.put(PinType.EVENT_INPUTS.name().toLowerCase(), new ArrayList<>()); + names.put(PinType.SWITCH_INPUTS.name().toLowerCase(), new ArrayList<>()); for (PinState listPin : listPins) { String id = listPin.getId(); String className = listPin.getPinClass();