diff --git a/bsp/renesas/libraries/HAL_Drivers/drv_spi.c b/bsp/renesas/libraries/HAL_Drivers/drv_spi.c index dc26a7c01b..3e586441e2 100644 --- a/bsp/renesas/libraries/HAL_Drivers/drv_spi.c +++ b/bsp/renesas/libraries/HAL_Drivers/drv_spi.c @@ -25,8 +25,8 @@ #include #if defined(BSP_USING_SPI0) || defined(BSP_USING_SPI1) -#define RA_SPI0_EVENT 0x00 -#define RA_SPI1_EVENT 0x01 +#define RA_SPI0_EVENT 0x01 +#define RA_SPI1_EVENT 0x02 static struct rt_event complete_event = {0}; static struct ra_spi_handle spi_handle[] =