This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 27ed4358991e6ff36ac78b371a101c947a603b65 Author: yangsong8 <[email protected]> AuthorDate: Wed Nov 11 15:17:28 2026 +0800 drivers/ioexpander: fix the nxstyle errors in gpio_lower_half.c Add the missing blank lines after the local declarations in gplh_setdebounce() and gplh_setmask(). No functional change. Signed-off-by: yangsong8 <[email protected]> --- drivers/ioexpander/gpio_lower_half.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ioexpander/gpio_lower_half.c b/drivers/ioexpander/gpio_lower_half.c index 14fc8a7becd..facdad59cfe 100644 --- a/drivers/ioexpander/gpio_lower_half.c +++ b/drivers/ioexpander/gpio_lower_half.c @@ -415,6 +415,7 @@ static int gplh_setdebounce(FAR struct gpio_dev_s *gpio, FAR struct gplh_dev_s *priv = (FAR struct gplh_dev_s *)gpio; FAR struct ioexpander_dev_s *ioe = priv->ioe; uint8_t pin = priv->pin; + IOEXP_SETOPTION(ioe, pin, IOEXPANDER_OPTION_SETDEBOUNCE, (FAR void *)duration); return OK; @@ -434,6 +435,7 @@ static int gplh_setmask(FAR struct gpio_dev_s *gpio, FAR struct gplh_dev_s *priv = (FAR struct gplh_dev_s *)gpio; FAR struct ioexpander_dev_s *ioe = priv->ioe; uint8_t pin = priv->pin; + IOEXP_SETOPTION(ioe, pin, IOEXPANDER_OPTION_SETMASK, (FAR void *)mask); return OK; }
