Prep TS for VSS over CAN (#1329)

TS update

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
This commit is contained in:
shadowm60 2020-04-20 01:23:06 +03:00 committed by GitHub
parent 75b009bbae
commit 4c6ba7f681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 5 deletions

View File

@ -1267,6 +1267,7 @@ const command_i_s commandsI[] = {{"ignition_mode", setIgnitionMode},
{"bor", setBor},
#if EFI_CAN_SUPPORT
{"can_mode", setCanType},
{"can_vss", setCanVss},
#endif /* EFI_CAN_SUPPORT */
#if EFI_IDLE_CONTROL
{"idle_position", setIdleValvePosition},

View File

@ -799,8 +799,8 @@ custom maf_sensor_type_e 4 bits, S32, @OFFSET@, [0:7], @@maf_sensor_type_e_enum@
bit enableLaunchRetard
bit enableLaunchBoost
bit launchDisableBySpeed
bit enableCanVss
bit enableInnovateLC2
bit unusedBit_251_8
bit unusedBit_251_9
bit unusedBit_251_10
bit unusedBit_251_11
@ -1240,7 +1240,10 @@ uint8_t[4] unusuedsw;
uint8_t[IAC_PID_MULT_SIZE] iacPidMultLoadBins;;"Load", 1, 0.0, 0, 500.0, 2
uint8_t[IAC_PID_MULT_SIZE] iacPidMultRpmBins;;"RPM", @@RPM_1_BYTE_PACKING_MULT@@, 0, 0.0, 12000.0, 0
int[465] mainUnusedEnd;
custom can_vss_nbc_e 4 bits, U32, @OFFSET@, [0:7], "BMW_e46", "W202"
can_vss_nbc_e canVssNbcType;set can_vss X
int[464] mainUnusedEnd;
! end of engine_configuration_s
end_struct

View File

@ -2362,15 +2362,22 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
panel = alternator
panel = startStopDialog
dialog = speedSensorLeft
dialog = speedSensorAnalog
field = "Input pin", vehicleSpeedSensorInputPin
field = "revolution to speed mult", vehicleSpeedCoef
dialog = speedSensorCan
field = "Vss Car Type", canVssNbcType, { enableCanVss }
dialog = speedSensorLeft, "Speed sensor config", yAxis
panel = speedSensorCan, { enableCanVss }
panel = speedSensorAnalog, { enableCanVss == 0 }
field = "Enable CANbus VSS values", enableCanVss, { canReadEnabled }
dialog = speedSensor, "Speed sensor", xAxis
panel = speedSensorLeft
gauge = VSSGauge
; Engine->Other inputs
dialog = analogInputSettings, "Analog Input Settings"
field = "!ECU reboot needed to apply these settings"