slorquet opened a new issue #3769:
URL: https://github.com/apache/incubator-nuttx/issues/3769


   Hello,
   
   there is a typo in this IOexpander driver.
   
   Here is a simple git diff:
   
   ```
   diff --git a/drivers/ioexpander/pca9555.c b/drivers/ioexpander/pca9555.c
   index 88b0ad4ab5..a80715581b 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;
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to