mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 18:37:46 +08:00
S32K1XX arch: gpioread may also be used for output pins
This commit is contained in:
committed by
Xiang Xiao
parent
43de6cce13
commit
cf6dcbc6fd
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user