better error handling?
This commit is contained in:
rusefillc 2020-11-22 13:42:24 -05:00
parent eece5496da
commit 5678190d5a
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ adc_channel_e getAdcChannel(brain_pin_e pin) {
case GPIO_UNASSIGNED:
return EFI_ADC_NONE;
default:
firmwareError(OBD_PCM_Processor_Fault, "getAdcChannel %d", pin);
return EFI_ADC_ERROR;
}
}