partial rollback
This commit is contained in:
parent
60bdc852dc
commit
f806ca091d
|
@ -259,7 +259,8 @@ int getInternalAdcValue(const char *msg, adc_channel_e hwChannel) {
|
|||
return value;
|
||||
}
|
||||
if (adcHwChannelEnabled[hwChannel] != ADC_SLOW) {
|
||||
firmwareError(CUSTOM_OBD_WRONG_ADC_MODE, "ADC is off [%s] index=%d", msg, hwChannel);
|
||||
// todo: make this not happen during hardware continues integration
|
||||
warning(CUSTOM_OBD_WRONG_ADC_MODE, "ADC is off [%s] index=%d", msg, hwChannel);
|
||||
}
|
||||
|
||||
return slowAdc.getAdcValueByHwChannel(hwChannel);
|
||||
|
|
Loading…
Reference in New Issue