mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
Centralize definitions associated with CONFIG_DEBUG_PWM
This commit is contained in:
@@ -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
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user