修改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…
Reference in New Issue