fix typo in pca9555

This commit is contained in:
me@me.net 2021-05-25 16:01:27 +02:00 committed by Abdelatif Guettouche
parent 73dcbac09d
commit 85b0faed21
1 changed files with 1 additions and 1 deletions

View File

@ -814,7 +814,7 @@ static int pca9555_detach(FAR struct ioexpander_dev_s *dev, FAR void *handle)
DEBUGASSERT(pca != NULL && cb != NULL); DEBUGASSERT(pca != NULL && cb != NULL);
DEBUGASSERT((uintptr_t)cb >= (uintptr_t)&pca->cb[0] && DEBUGASSERT((uintptr_t)cb >= (uintptr_t)&pca->cb[0] &&
(uintptr_t)cb <= (uintptr_t)cb <=
(uintptr_t)&pca->cb[CONFIG_TCA64XX_INT_NCALLBACKS - 1]); (uintptr_t)&pca->cb[CONFIG_PCA9555_INT_NCALLBACKS - 1]);
UNUSED(pca); UNUSED(pca);
cb->pinset = 0; cb->pinset = 0;