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

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

commit b11f669676b6907d683c6452dff3dac2eadd61b1
Author: yezhonghui <[email protected]>
AuthorDate: Fri Apr 18 11:13:14 2025 +0800

    ioe_dummy: fix pinval always zero issue
    
    fix gpio pinval issue
    
    Signed-off-by: yezhonghui <[email protected]>
---
 drivers/ioexpander/ioe_dummy.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/ioexpander/ioe_dummy.c b/drivers/ioexpander/ioe_dummy.c
index cc57644ff99..fb6fef0d383 100644
--- a/drivers/ioexpander/ioe_dummy.c
+++ b/drivers/ioexpander/ioe_dummy.c
@@ -710,8 +710,7 @@ static ioe_pinset_t ioe_dummy_int_update(FAR struct 
ioe_dummy_dev_s *priv)
             }
         }
 
-      diff  >>= 1;
-      input >>= 1;
+      diff >>= 1;
     }
 
   return intstat;

Reply via email to