mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
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 <eren.terzioglu@espressif.com>
This commit is contained in:
@@ -616,7 +616,7 @@ static void esp_i2c_slave_deinit(struct esp_i2c_priv_s *priv)
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#ifndef CONFIG_I2C_POLLED
|
#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;
|
struct esp_i2c_priv_s *priv = (struct esp_i2c_priv_s *)arg;
|
||||||
uint32_t irq_status = 0;
|
uint32_t irq_status = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user