mirror of https://github.com/thesofproject/sof.git
zephyr: trace: use zephyr utilities when enabled
Use the Zephyr sys/printk.h when Zephyr RTOS is used. Suggested-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
parent
c32a0e032f
commit
8357dcf793
|
@ -9,6 +9,10 @@
|
|||
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_H_
|
||||
#include <logging/log.h>
|
||||
|
||||
#ifdef __ZEPHYR__
|
||||
#include <sys/printk.h>
|
||||
#endif
|
||||
|
||||
/* Level of SOF trace on Zephyr */
|
||||
#define SOF_ZEPHYR_TRACE_LEVEL LOG_LEVEL_INF
|
||||
|
||||
|
|
Loading…
Reference in New Issue