From aa15f7cd56bf11ce7e62dacd385bccd04bf39b88 Mon Sep 17 00:00:00 2001 From: Harrypotter-zhs <2323642850@qq.com> Date: Sun, 20 Nov 2022 18:05:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ch32v307=E8=BD=AF=E4=BB=B6spi?= =?UTF-8?q?=E7=9A=84=E5=AE=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/wch/risc-v/Libraries/ch32_drivers/drv_soft_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/wch/risc-v/Libraries/ch32_drivers/drv_soft_spi.c b/bsp/wch/risc-v/Libraries/ch32_drivers/drv_soft_spi.c index 1795343ac3..3db73dbb06 100644 --- a/bsp/wch/risc-v/Libraries/ch32_drivers/drv_soft_spi.c +++ b/bsp/wch/risc-v/Libraries/ch32_drivers/drv_soft_spi.c @@ -11,7 +11,7 @@ #include #include "drv_soft_spi.h" -#ifdef BSP_USING_SOFT_I2C +#ifdef BSP_USING_SOFT_SPI #define LOG_TAG "drv.soft_spi" #include @@ -225,4 +225,4 @@ int rt_soft_spi_init(void) } INIT_BOARD_EXPORT(rt_soft_spi_init); -#endif /* BSP_USING_SOFT_I2C */ +#endif /* BSP_USING_SOFT_SPI */