better code name

This commit is contained in:
rusefi 2017-04-12 07:57:52 -04:00
parent dcf207b397
commit 748a959a2b
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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