mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 04:53:47 +08:00
修改ch32v307软件spi的宏
This commit is contained in:
parent
d98a4ec1b5
commit
aa15f7cd56
@ -11,7 +11,7 @@
|
||||
#include <board.h>
|
||||
#include "drv_soft_spi.h"
|
||||
|
||||
#ifdef BSP_USING_SOFT_I2C
|
||||
#ifdef BSP_USING_SOFT_SPI
|
||||
|
||||
#define LOG_TAG "drv.soft_spi"
|
||||
#include <drv_log.h>
|
||||
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user