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

aguettouche 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 85b0fae  fix typo in pca9555
85b0fae is described below

commit 85b0faed217be7f3a596680021f90b4938c31902
Author: [email protected] <[email protected]>
AuthorDate: Tue May 25 16:01:27 2021 +0200

    fix typo in pca9555
---
 drivers/ioexpander/pca9555.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ioexpander/pca9555.c b/drivers/ioexpander/pca9555.c
index 88b0ad4..a807155 100644
--- a/drivers/ioexpander/pca9555.c
+++ b/drivers/ioexpander/pca9555.c
@@ -814,7 +814,7 @@ static int pca9555_detach(FAR struct ioexpander_dev_s *dev, 
FAR void *handle)
   DEBUGASSERT(pca != NULL && cb != NULL);
   DEBUGASSERT((uintptr_t)cb >= (uintptr_t)&pca->cb[0] &&
               (uintptr_t)cb <=
-              (uintptr_t)&pca->cb[CONFIG_TCA64XX_INT_NCALLBACKS - 1]);
+              (uintptr_t)&pca->cb[CONFIG_PCA9555_INT_NCALLBACKS - 1]);
   UNUSED(pca);
 
   cb->pinset = 0;

Reply via email to