Centralize definitions associated with CONFIG_DEBUG_PWM

This commit is contained in:
Gregory Nutt
2016-06-15 17:23:56 -06:00
parent 8ce929a915
commit 03cbe671ad
19 changed files with 144 additions and 286 deletions
-18
View File
@@ -64,24 +64,6 @@
#ifdef CONFIG_PWM
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/* Debug ********************************************************************/
/* Non-standard debug that may be enabled just for testing PWM */
#ifdef CONFIG_DEBUG_PWM
# define pwmerr err
# define pwminfo info
# define pwmllerr llerr
# define pwmllinfo llinfo
#else
# define pwmerr(x...)
# define pwminfo(x...)
# define pwmllerr(x...)
# define pwmllinfo(x...)
#endif
/****************************************************************************
* Private Type Definitions
****************************************************************************/