Testbench: use macro replace immediate number

Direct numbers are hard to know what exactly means, it
actually represent log error level print, use macro to replace
it.

Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
This commit is contained in:
Baofeng Tian 2023-12-27 15:08:47 +08:00 committed by Liam Girdwood
parent 28e065258f
commit 694053b79e
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@
#include <sof/schedule/edf_schedule.h> #include <sof/schedule/edf_schedule.h>
#include <sof/schedule/ll_schedule.h> #include <sof/schedule/ll_schedule.h>
#include <sof/schedule/schedule.h> #include <sof/schedule/schedule.h>
#include <user/trace.h>
#include <rtos/spinlock.h> #include <rtos/spinlock.h>
#include <sof/audio/component_ext.h> #include <sof/audio/component_ext.h>
#include <rtos/clk.h> #include <rtos/clk.h>
@ -41,7 +42,7 @@ WEAK struct tr_ctx buffer_tr;
WEAK struct tr_ctx comp_tr; WEAK struct tr_ctx comp_tr;
WEAK struct tr_ctx ipc_tr; WEAK struct tr_ctx ipc_tr;
int host_trace_level = 1; int host_trace_level = LOG_LEVEL_ERROR;
void WEAK *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes, void WEAK *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes,
uint32_t alignment) uint32_t alignment)