CI instability: FATAL error: warn stream not initialized for 6039 #798

This commit is contained in:
rusefi 2019-05-10 18:58:05 -04:00
parent 8fd9fd6194
commit f0350613da
2 changed files with 2 additions and 2 deletions

View File

@ -1722,7 +1722,7 @@ typedef enum {
* This error happens if some pinout configuration changes were applied but ECU was not reset afterwards.
*/
CUSTOM_OBD_ANALOG_INPUT_NOT_CONFIGURED = 6038,
CUSTOM_OBD_39 = 6039,
CUSTOM_OBD_WRONG_ADC_MODE = 6039,
CUSTOM_OBD_LOW_CAN_PERIOD = 6040,
CUSTOM_OBD_KNOCK_PROCESSOR = 6041,

View File

@ -281,7 +281,7 @@ int getInternalAdcValue(const char *msg, adc_channel_e hwChannel) {
return value;
}
if (adcHwChannelEnabled[hwChannel] != ADC_SLOW) {
warning(CUSTOM_OBD_39, "ADC is off [%s] index=%d", msg, hwChannel);
warning(CUSTOM_OBD_WRONG_ADC_MODE, "ADC is off [%s] index=%d", msg, hwChannel);
}
return slowAdc.getAdcValueByHwChannel(hwChannel);