diff --git a/firmware/controllers/algo/obd_error_codes.h b/firmware/controllers/algo/obd_error_codes.h index 1c611c552d..db714cff50 100644 --- a/firmware/controllers/algo/obd_error_codes.h +++ b/firmware/controllers/algo/obd_error_codes.h @@ -1718,7 +1718,7 @@ typedef enum { /** * This error happens if some pinout configuration changes were applied but ECU was not reset afterwards. */ - CUSTOM_OBD_ANALOG_INPUT_ERROR = 6038, + CUSTOM_OBD_ANALOG_INPUT_NOT_CONFIGURED = 6038, CUSTOM_OBD_39 = 6039, CUSTOM_OBD_LOW_CAN_PERIOD = 6040, diff --git a/firmware/hw_layer/adc_inputs.cpp b/firmware/hw_layer/adc_inputs.cpp index 6eca52b992..e7b445d8f6 100644 --- a/firmware/hw_layer/adc_inputs.cpp +++ b/firmware/hw_layer/adc_inputs.cpp @@ -217,7 +217,7 @@ float getMCUInternalTemperature(void) { int getInternalAdcValue(const char *msg, adc_channel_e hwChannel) { if (hwChannel == EFI_ADC_NONE) { - warning(CUSTOM_OBD_ANALOG_INPUT_ERROR, "ADC: %s input is not configured", msg); + warning(CUSTOM_OBD_ANALOG_INPUT_NOT_CONFIGURED, "ADC: %s input is not configured", msg); return -1; } #if EFI_ENABLE_MOCK_ADC || EFI_SIMULATOR