diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index bd0fe1bb7b..0845d947e5 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -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"); diff --git a/firmware/controllers/algo/aux_pid.cpp b/firmware/controllers/algo/aux_pid.cpp index 3ae8cb3f3d..ff00a694de 100644 --- a/firmware/controllers/algo/aux_pid.cpp +++ b/firmware/controllers/algo/aux_pid.cpp @@ -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); } diff --git a/firmware/controllers/algo/rusefi_enums.h b/firmware/controllers/algo/rusefi_enums.h index 6d66c53595..26ed83dda9 100644 --- a/firmware/controllers/algo/rusefi_enums.h +++ b/firmware/controllers/algo/rusefi_enums.h @@ -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;