better names

This commit is contained in:
rusefi 2017-11-24 19:16:25 -05:00
parent b1f66d43ce
commit aff51510d4
3 changed files with 7 additions and 7 deletions

View File

@ -769,7 +769,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
tsOutputChannels->debugFloatField2 = engine->triggerCentral.getHwEventCounter((int)SHAFT_SECONDARY_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
if (engineConfiguration->fsioAdc[0] != EFI_ADC_NONE) {
strcpy(buf, "adcX");

View File

@ -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);
tsOutputChannels.debugIntField3 = (int)(10 * targetValue);
}

View File

@ -704,8 +704,8 @@ typedef enum {
DBG_IDLE_CONTROL = 3,
DBG_EL_ACCEL = 4,
DBG_TRIGGER_INPUT = 5,
FSIO_ADC = 6,
AUX_PID_1 = 7,
DBG_FSIO_ADC = 6,
DBG_AUX_PID_1 = 7,
/**
* VVT position debugging - not VVT valve control
*/
@ -721,9 +721,9 @@ typedef enum {
DBG_ELECTRONIC_THROTTLE = 17,
DBG_EXECUTOR = 18,
DBG_BENCH_TEST = 19,
DM_20 = 20,
DM_21 = 21,
DM_22 = 22,
DBG__20 = 20,
DBG__21 = 21,
DBG__22 = 22,
Force_4b_debug_mode_e = ENUM_32_BITS,
} debug_mode_e;