kernel: logging: convert K_DEBUG to LOG_DBG
Move K_DEBUG to use LOG_DBG instead of plain printk. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
e71e803674
commit
2c5d40437b
6 changed files with 14 additions and 28 deletions
|
@ -30,12 +30,6 @@ extern "C" {
|
|||
* @}
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_KERNEL_DEBUG
|
||||
#define K_DEBUG(fmt, ...) printk("[%s] " fmt, __func__, ##__VA_ARGS__)
|
||||
#else
|
||||
#define K_DEBUG(fmt, ...)
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_COOP_ENABLED) && defined(CONFIG_PREEMPT_ENABLED)
|
||||
#define _NUM_COOP_PRIO (CONFIG_NUM_COOP_PRIORITIES)
|
||||
#define _NUM_PREEMPT_PRIO (CONFIG_NUM_PREEMPT_PRIORITIES + 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue