better enum name
This commit is contained in:
parent
3c2fc8d86a
commit
935dd73c47
|
@ -738,8 +738,8 @@ case DBG_MAP:
|
|||
return "DBG_MAP";
|
||||
case DBG_METRICS:
|
||||
return "DBG_METRICS";
|
||||
case DBG_29:
|
||||
return "DBG_29";
|
||||
case DBG_ELECTRONIC_THROTTLE_EXTRA:
|
||||
return "DBG_ELECTRONIC_THROTTLE_EXTRA";
|
||||
case DBG_ADC:
|
||||
return "DBG_ADC";
|
||||
case DBG_ALTERNATOR_PID:
|
||||
|
@ -752,8 +752,8 @@ case DBG_BENCH_TEST:
|
|||
return "DBG_BENCH_TEST";
|
||||
case DBG_CRANKING_DETAILS:
|
||||
return "DBG_CRANKING_DETAILS";
|
||||
case DBG_ELECTRONIC_THROTTLE:
|
||||
return "DBG_ELECTRONIC_THROTTLE";
|
||||
case DBG_ELECTRONIC_THROTTLE_PID:
|
||||
return "DBG_ELECTRONIC_THROTTLE_PID";
|
||||
case DBG_EL_ACCEL:
|
||||
return "DBG_EL_ACCEL";
|
||||
case DBG_EXECUTOR:
|
||||
|
|
|
@ -764,7 +764,10 @@ typedef enum {
|
|||
DBG_SR5_PROTOCOL = 14,
|
||||
DBG_KNOCK = 15,
|
||||
DBG_TRIGGER_SYNC = 16,
|
||||
DBG_ELECTRONIC_THROTTLE = 17,
|
||||
/**
|
||||
* See also DBG_ELECTRONIC_THROTTLE_EXTRA
|
||||
*/
|
||||
DBG_ELECTRONIC_THROTTLE_PID = 17,
|
||||
DBG_EXECUTOR = 18,
|
||||
DBG_BENCH_TEST = 19,
|
||||
DBG_AUX_VALVES = 20,
|
||||
|
@ -777,7 +780,7 @@ typedef enum {
|
|||
DBG_CAN = 26,
|
||||
DBG_MAP = 27,
|
||||
DBG_METRICS = 28,
|
||||
DBG_29 = 29,
|
||||
DBG_ELECTRONIC_THROTTLE_EXTRA = 29,
|
||||
DBG_30 = 30,
|
||||
DBG_31 = 31,
|
||||
DBG_32 = 32,
|
||||
|
|
|
@ -127,7 +127,7 @@ static msg_t etbThread(void *arg) {
|
|||
outputDirectionClose.setValue(needEtbBraking);
|
||||
}
|
||||
|
||||
if (engineConfiguration->debugMode == DBG_ELECTRONIC_THROTTLE) {
|
||||
if (engineConfiguration->debugMode == DBG_ELECTRONIC_THROTTLE_PID) {
|
||||
pid.postState(&tsOutputChannels);
|
||||
}
|
||||
if (engineConfiguration->isVerboseETB) {
|
||||
|
|
Loading…
Reference in New Issue