diff --git a/firmware/controllers/sensors/sensor_type.h b/firmware/controllers/sensors/sensor_type.h index 442c5fd283..200b716db3 100644 --- a/firmware/controllers/sensors/sensor_type.h +++ b/firmware/controllers/sensors/sensor_type.h @@ -117,6 +117,8 @@ enum class SensorType : unsigned char { LuaGauge1, LuaGauge2, + IgnKeyVoltage, + AuxLinear1, AuxLinear2, diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 75df0907be..440aa6d987 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1595,7 +1595,9 @@ pin_input_mode_e[LUA_DIGITAL_INPUT_COUNT iterate] luaDigitalInputPinModes; uint8_t[CAM_INPUTS_COUNT iterate] simulatorCamPosition; -uint16_t unusedExplicitFilling2 +adc_channel_e ignKeyAdcChannel + +uint8_t unusedExplicitFilling2 float[VVT_TRACKING_LENGTH iterate] triggerVVTGapOverrideFrom;;"ratio", 1, 0, 0, 20, 3 float[VVT_TRACKING_LENGTH iterate] triggerVVTGapOverrideTo;;"ratio", 1, 0, 0, 20, 3 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 6b950c0600..482e101bcb 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -3783,6 +3783,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_ ; Engine->Battery & Alternator dialog = batteryDialog, "Battery Settings", yAxis field = "vBatt ADC input", vbattAdcChannel + field = "Ignition Key ADC input", ignKeyAdcChannel field = "Ignition Key Switch", ignitionKeyDigitalPin field = "Ignition Key Switch Mode", ignitionKeyDigitalPinMode field = "Battery Input Divider Coefficient", vbattDividerCoeff