main.c增加空行,将debug输出移动到board.h
This commit is contained in:
parent
b81dc4a933
commit
ad197870d2
|
@ -32,7 +32,13 @@ extern int __bss_end;
|
|||
#define HEAP_BEGIN ((void *)&__bss_end)
|
||||
#endif
|
||||
|
||||
|
||||
#define HEAP_END V85XX_SRAM_END
|
||||
|
||||
/* #define DEBUG */
|
||||
#ifdef DEBUG
|
||||
#define DEBUG_PRINTF(...) rt_kprintf(__VA_ARGS__)
|
||||
#else
|
||||
#define DEBUG_PRINTF(...)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -22,13 +22,6 @@
|
|||
#error "Please define at least one SPIx"
|
||||
#endif
|
||||
|
||||
/* #define DEBUG */
|
||||
#ifdef DEBUG
|
||||
#define DEBUG_PRINTF(...) rt_kprintf(__VA_ARGS__)
|
||||
#else
|
||||
#define DEBUG_PRINTF(...)
|
||||
#endif
|
||||
|
||||
/* private rt-thread spi ops function */
|
||||
static rt_err_t configure(struct rt_spi_device* device, struct rt_spi_configuration* configuration);
|
||||
static rt_uint32_t xfer(struct rt_spi_device* device, struct rt_spi_message* message);
|
||||
|
|
Loading…
Reference in New Issue