better names
This commit is contained in:
parent
b1f66d43ce
commit
aff51510d4
|
@ -769,7 +769,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
||||||
tsOutputChannels->debugFloatField2 = engine->triggerCentral.getHwEventCounter((int)SHAFT_SECONDARY_RISING);
|
tsOutputChannels->debugFloatField2 = engine->triggerCentral.getHwEventCounter((int)SHAFT_SECONDARY_RISING);
|
||||||
tsOutputChannels->debugFloatField3 = engine->triggerCentral.getHwEventCounter((int)SHAFT_3RD_RISING);
|
tsOutputChannels->debugFloatField3 = engine->triggerCentral.getHwEventCounter((int)SHAFT_3RD_RISING);
|
||||||
|
|
||||||
} else if (engineConfiguration->debugMode == FSIO_ADC) {
|
} else if (engineConfiguration->debugMode == DBG_FSIO_ADC) {
|
||||||
// todo: implement a proper loop
|
// todo: implement a proper loop
|
||||||
if (engineConfiguration->fsioAdc[0] != EFI_ADC_NONE) {
|
if (engineConfiguration->fsioAdc[0] != EFI_ADC_NONE) {
|
||||||
strcpy(buf, "adcX");
|
strcpy(buf, "adcX");
|
||||||
|
|
|
@ -88,7 +88,7 @@ static msg_t auxPidThread(int param) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (engineConfiguration->debugMode == AUX_PID_1) {
|
if (engineConfiguration->debugMode == DBG_AUX_PID_1) {
|
||||||
auxPid.postState(&tsOutputChannels);
|
auxPid.postState(&tsOutputChannels);
|
||||||
tsOutputChannels.debugIntField3 = (int)(10 * targetValue);
|
tsOutputChannels.debugIntField3 = (int)(10 * targetValue);
|
||||||
}
|
}
|
||||||
|
|
|
@ -704,8 +704,8 @@ typedef enum {
|
||||||
DBG_IDLE_CONTROL = 3,
|
DBG_IDLE_CONTROL = 3,
|
||||||
DBG_EL_ACCEL = 4,
|
DBG_EL_ACCEL = 4,
|
||||||
DBG_TRIGGER_INPUT = 5,
|
DBG_TRIGGER_INPUT = 5,
|
||||||
FSIO_ADC = 6,
|
DBG_FSIO_ADC = 6,
|
||||||
AUX_PID_1 = 7,
|
DBG_AUX_PID_1 = 7,
|
||||||
/**
|
/**
|
||||||
* VVT position debugging - not VVT valve control
|
* VVT position debugging - not VVT valve control
|
||||||
*/
|
*/
|
||||||
|
@ -721,9 +721,9 @@ typedef enum {
|
||||||
DBG_ELECTRONIC_THROTTLE = 17,
|
DBG_ELECTRONIC_THROTTLE = 17,
|
||||||
DBG_EXECUTOR = 18,
|
DBG_EXECUTOR = 18,
|
||||||
DBG_BENCH_TEST = 19,
|
DBG_BENCH_TEST = 19,
|
||||||
DM_20 = 20,
|
DBG__20 = 20,
|
||||||
DM_21 = 21,
|
DBG__21 = 21,
|
||||||
DM_22 = 22,
|
DBG__22 = 22,
|
||||||
|
|
||||||
Force_4b_debug_mode_e = ENUM_32_BITS,
|
Force_4b_debug_mode_e = ENUM_32_BITS,
|
||||||
} debug_mode_e;
|
} debug_mode_e;
|
||||||
|
|
Loading…
Reference in New Issue