better code name
This commit is contained in:
parent
785cce9ef4
commit
bc71cdc92e
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue