mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Centralize definitions associated with CONFIG_DEBUG_SPI
This commit is contained in:
@@ -55,22 +55,6 @@
|
||||
#if 0 /* At present, EA3131 specific logic is hard-coded in the file lpc31_spi.c
|
||||
* in arch/arm/src/lpc31xx */
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
************************************************************************************/
|
||||
|
||||
/* Enables debug output from this file */
|
||||
|
||||
#ifdef CONFIG_DEBUG_SPI
|
||||
# define spierr llerr
|
||||
# define spiwarn llwarn
|
||||
# define spiinfo llinfo
|
||||
#else
|
||||
# define spierr(x...)
|
||||
# define spiwarn(x...)
|
||||
# define spiinfo(x...)
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Public Functions
|
||||
************************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user