From f021af714d09b1ecf9e269cf555aaba38108a270 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sat, 11 Jul 2026 20:46:16 +0200 Subject: [PATCH] drivers/ioexpander/sx1509: include nuttx/arch.h for up_mdelay up_mdelay() is used in the reset sequence but nuttx/arch.h was not included, causing an implicit-declaration build error. Signed-off-by: raiden00pl --- drivers/ioexpander/sx1509.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ioexpander/sx1509.c b/drivers/ioexpander/sx1509.c index e2824c489c3..c1ed2dac606 100644 --- a/drivers/ioexpander/sx1509.c +++ b/drivers/ioexpander/sx1509.c @@ -31,6 +31,7 @@ #include #include +#include #include #include #include @@ -886,6 +887,7 @@ static void sx1509_irqworker(void *arg) /* Did any of the requested pin interrupts occur? */ ioe_pinset_t match = pinset & priv->cb[i].pinset; + if (match != 0) { /* Yes.. perform the callback */