MSIOBox: fix typo
This commit is contained in:
parent
ec50d034bc
commit
3544a8f25d
|
@ -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