Commit 3c057d5
committed
zephyr: include: sof: trace: Fix the trace level setting
Header has a guard to not reinclude logging header if it was already
included but inside this guard there is a definition of
SOF_ZEPHYR_TRACE_LEVEL which is later on used. So if log.h is already
earlier included SOF_ZEPHYR_TRACE_LEVEL is not defined and compilation
fails.
Moving this definition outside of the guard because if log.h is already
included LOG_LEVEL_INF is available.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>1 parent 0606152 commit 3c057d5
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
0 commit comments