Centralize definitions associated with CONFIG_DEBUG_LEDS

This commit is contained in:
Gregory Nutt
2016-06-15 14:12:19 -06:00
parent a42651de4f
commit 2ddd57c674
132 changed files with 157 additions and 2456 deletions
-20
View File
@@ -95,26 +95,6 @@
* at approximately 2Hz, then a fatal error has been detected and the system
*/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG_FEATURES
* with CONFIG_DEBUG_INFO too)
*/
#ifdef CONFIG_DEBUG_LEDS
# define lederr llerr
# define ledinfo llinfo
#else
# define lederr(x...)
# define ledinfo(x...)
#endif
/****************************************************************************
* Private Data
****************************************************************************/
/****************************************************************************
* Private Functions
****************************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
-32
View File
@@ -51,38 +51,6 @@
#ifndef CONFIG_ARCH_LEDS
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG_FEATURES
* with CONFIG_DEBUG_INFO too)
*/
#ifdef CONFIG_DEBUG_LEDS
# define lederr llerr
# define ledinfo llinfo
#else
# define lederr(x...)
# define ledinfo(x...)
#endif
/****************************************************************************
* Private Data
****************************************************************************/
/****************************************************************************
* Private Function Protototypes
****************************************************************************/
/****************************************************************************
* Private Data
****************************************************************************/
/****************************************************************************
* Private Functions
****************************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/