TS injector bench test pulse is too short #4192
This commit is contained in:
parent
f1debc0bd6
commit
97def4b01f
|
@ -535,6 +535,8 @@ void executeTSCommand(uint16_t subsystem, uint16_t index) {
|
|||
}
|
||||
|
||||
void onConfigurationChangeBenchTest() {
|
||||
if (engineConfiguration->benchTestOnTime == 0)
|
||||
engineConfiguration->benchTestOnTime = 4; // default value if configuration was not specified
|
||||
if (engineConfiguration->benchTestOffTime < 5)
|
||||
engineConfiguration->benchTestOffTime = 500; // default value if configuration was not specified
|
||||
if (engineConfiguration->benchTestCount < 1)
|
||||
|
|
|
@ -1212,9 +1212,9 @@ int16_t tps2Max;Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!\
|
|||
bit unused1128
|
||||
bit unused1129
|
||||
bit unused1130
|
||||
uint8_t autoscale benchTestOffTime;;"ms", 5, 0, 0, 2000, 1
|
||||
uint8_t benchTestCount;;"count", 1, 0, 0, 250, 1
|
||||
uint8_t autoscale benchTestOnTime;;"ms", 5, 0, 0, 2000, 1
|
||||
uint8_t autoscale benchTestOffTime;Time between bench test pulses;"ms", 5, 0, 0, 2000, 1
|
||||
uint8_t benchTestCount;How many test bench pulses do you want;"count", 1, 0, 0, 250, 1
|
||||
uint8_t autoscale benchTestOnTime;Length of each of the test pulses;"ms", 5, 0, 0, 2000, 1
|
||||
pin_input_mode_e launchActivatePinMode;
|
||||
Gpio can2TxPin;set_can2_tx_pin X
|
||||
Gpio can2RxPin;set_can2_rx_pin X
|
||||
|
|
Loading…
Reference in New Issue