From bd584332a4aef93f381307248f88e2fd154bf1c2 Mon Sep 17 00:00:00 2001 From: Masanari Iida Date: Sat, 20 Aug 2022 16:06:19 +0900 Subject: [PATCH] rp2040: Add missing comma in rp2040_i2c_slave.c This patch fixes missing comma, found by cppcheck. rp2040_i2c_slave.c:259:0: error: failed to expand 'modbits_reg32', Wrong number of parameters for macro 'modbits_reg32'. Signed-off-by: Masanari Iida --- arch/arm/src/rp2040/rp2040_i2c_slave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/rp2040/rp2040_i2c_slave.c b/arch/arm/src/rp2040/rp2040_i2c_slave.c index b64fee3b6f..4f9d98360e 100644 --- a/arch/arm/src/rp2040/rp2040_i2c_slave.c +++ b/arch/arm/src/rp2040/rp2040_i2c_slave.c @@ -257,7 +257,7 @@ static int i2c_interrupt(int irq, void *context, void *arg) */ modbits_reg32(RP2040_I2C_IC_INTR_MASK(priv->controller), - 0 + 0, RP2040_I2C_IC_INTR_MASK_M_TX_EMPTY); }