修改ch32v307软件spi的宏

This commit is contained in:
Harrypotter-zhs 2022-11-20 18:05:32 +08:00 committed by Man, Jianting (Meco)
parent d98a4ec1b5
commit aa15f7cd56
1 changed files with 2 additions and 2 deletions

View File

@ -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)
} }
INIT_BOARD_EXPORT(rt_soft_spi_init); INIT_BOARD_EXPORT(rt_soft_spi_init);
#endif /* BSP_USING_SOFT_I2C */ #endif /* BSP_USING_SOFT_SPI */