This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new cf6dcbc  S32K1XX arch: gpioread may also be used for output pins
cf6dcbc is described below

commit cf6dcbc6fdf55879bc330b33b1c61af8c18e5af8
Author: Jari van Ewijk <jari.vanew...@nxp.com>
AuthorDate: Thu Sep 30 10:59:07 2021 +0200

    S32K1XX arch: gpioread may also be used for output pins
---
 arch/arm/src/s32k1xx/s32k1xx_pingpio.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/src/s32k1xx/s32k1xx_pingpio.c 
b/arch/arm/src/s32k1xx/s32k1xx_pingpio.c
index bb72245..0a5175b 100644
--- a/arch/arm/src/s32k1xx/s32k1xx_pingpio.c
+++ b/arch/arm/src/s32k1xx/s32k1xx_pingpio.c
@@ -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 */
 

Reply via email to