修复bsp/renesas/libraries/drv_spi.c中event定义错误 (#6712)

* fix usage of rt_event for drv_spi.c in renesas's libraries.
This commit is contained in:
vandoul 2022-12-09 10:14:19 +08:00 committed by GitHub
parent 9d8da76543
commit 2380c32a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@
#include <rtdbg.h>
#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[] =