less confusing error message https://rusefi.com/forum/viewtopic.php?p=45456#p45456
This commit is contained in:
parent
17d6cfc8d2
commit
3dc70db9b1
|
@ -269,7 +269,7 @@ static void startInputDriver(const char *msg, /*nullable*/digital_input_s *hw) {
|
||||||
digital_input_s* startDigitalCapture(const char *msg, brain_pin_e brainPin) {
|
digital_input_s* startDigitalCapture(const char *msg, brain_pin_e brainPin) {
|
||||||
ICUDriver *driver = getInputCaptureDriver(msg, brainPin);
|
ICUDriver *driver = getInputCaptureDriver(msg, brainPin);
|
||||||
if (!driver) {
|
if (!driver) {
|
||||||
firmwareError(CUSTOM_ERR_INVALID_INPUT_ICU_PIN, "Invalid %s input pin: %s", msg, hwPortname(brainPin));
|
firmwareError(CUSTOM_ERR_INVALID_INPUT_ICU_PIN, "Invalid %s ICU input pin: %s", msg, hwPortname(brainPin));
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue