提交 aa15f7cd 编写于 作者: 傻傻的我's avatar 傻傻的我 提交者: mysterywolf

修改ch32v307软件spi的宏

上级 d98a4ec1
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <board.h> #include <board.h>
#include "drv_soft_spi.h" #include "drv_soft_spi.h"
#ifdef BSP_USING_SOFT_I2C #ifdef BSP_USING_SOFT_SPI
#define LOG_TAG "drv.soft_spi" #define LOG_TAG "drv.soft_spi"
#include <drv_log.h> #include <drv_log.h>
...@@ -225,4 +225,4 @@ int rt_soft_spi_init(void) ...@@ -225,4 +225,4 @@ int rt_soft_spi_init(void)
} }
INIT_BOARD_EXPORT(rt_soft_spi_init); INIT_BOARD_EXPORT(rt_soft_spi_init);
#endif /* BSP_USING_SOFT_I2C */ #endif /* BSP_USING_SOFT_SPI */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册