getDigital only works for 4 specific pins. Can it be made to work with generic digital pins? #4861
This commit is contained in:
parent
3edc561e56
commit
9db64ada20
|
@ -47,9 +47,11 @@ static void deInitOldAnalogInputs() {
|
|||
}
|
||||
|
||||
static void initAuxDigital() {
|
||||
#if EFI_PROD_CODE
|
||||
for (size_t i = 0;i<efi::size(engineConfiguration->luaDigitalInputPins);i++) {
|
||||
efiSetPadMode("Lua Digital", engineConfiguration->luaDigitalInputPins[i], getInputMode(PI_DEFAULT));
|
||||
}
|
||||
#endif // EFI_PROD_CODE
|
||||
}
|
||||
|
||||
static void deInitAuxDigital() {
|
||||
|
|
Loading…
Reference in New Issue