You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by si...@apache.org on 2026/04/15 16:38:09 UTC
(nuttx) 01/04: arch/risc-vespressif: Fix i2c slave irq callback build error
This is an automated email from the ASF dual-hosted git repository.
simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 5cc000ceb08d0005935544d48483bc9d7099c12a
Author: Eren Terzioglu <er...@espressif.com>
AuthorDate: Fri Apr 10 11:05:17 2026 +0200
arch/risc-vespressif: Fix i2c slave irq callback build error
Fix i2c slave irq callback build error for risc-v based Espressif devices
Signed-off-by: Eren Terzioglu <er...@espressif.com>
---
arch/risc-v/src/common/espressif/esp_i2c_slave.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/risc-v/src/common/espressif/esp_i2c_slave.c b/arch/risc-v/src/common/espressif/esp_i2c_slave.c
index fa44cc358ff..8984ade096c 100644
--- a/arch/risc-v/src/common/espressif/esp_i2c_slave.c
+++ b/arch/risc-v/src/common/espressif/esp_i2c_slave.c
@@ -616,7 +616,7 @@ static void esp_i2c_slave_deinit(struct esp_i2c_priv_s *priv)
*
****************************************************************************/
#ifndef CONFIG_I2C_POLLED
-static int esp_i2c_slave_irq(void *arg)
+static int esp_i2c_slave_irq(int irq, void *context, void *arg)
{
struct esp_i2c_priv_s *priv = (struct esp_i2c_priv_s *)arg;
uint32_t irq_status = 0;