mirror of https://github.com/rusefi/rusefi.git
MSIOBox: fix typo
This commit is contained in:
parent
b6ac22e7d0
commit
5660ba40f8
|
@ -419,7 +419,7 @@ int MsIoBox::readPad(size_t pin) {
|
|||
|
||||
pin -= MSIOBOX_OUTPUTS;
|
||||
|
||||
if (OutMode & BIT(pin)) {
|
||||
if (InMode & BIT(pin)) {
|
||||
/* pin is configured for VSS */
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue