S32K1XX arch: gpioread may also be used for output pins

This commit is contained in:
Jari van Ewijk 2021-09-30 10:59:07 +02:00 committed by Xiang Xiao
parent 43de6cce13
commit cf6dcbc6fd

View File

@ -96,7 +96,6 @@ bool s32k1xx_gpioread(uint32_t pinset)
bool ret = false;
DEBUGASSERT((pinset & _PIN_MODE_MASK) == _PIN_MODE_GPIO);
DEBUGASSERT((pinset & _PIN_IO_MASK) == _PIN_INPUT);
/* Get the port number and pin number */