From cf6dcbc6fdf55879bc330b33b1c61af8c18e5af8 Mon Sep 17 00:00:00 2001 From: Jari van Ewijk Date: Thu, 30 Sep 2021 10:59:07 +0200 Subject: [PATCH] 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 bb7224524d..0a5175b0c7 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 */