File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 9
9
#include <logging/log_msg.h>
10
10
#include <logging/log_output.h>
11
11
#include <sys/ring_buffer.h>
12
- #include <zephyr.h>
13
- #include <device.h>
14
- #include <assert.h>
15
- #include <soc.h>
16
12
17
13
#define BUF_SIZE 64
18
14
@@ -21,9 +17,10 @@ BUILD_ASSERT(CONFIG_LOG_BACKEND_ADSP_RINGBUF_SIZE % BUF_SIZE == 0);
21
17
static struct ring_buf ringbuf ;
22
18
23
19
/*
24
- * Log message format
25
- * logging started with magic number 0x55aa followed by lo message id.
26
- * Log message ended with null terminator and takes BUF_SIZE slot
20
+ * Log message format:
21
+ * Logging started with magic number 0x55aa followed by log message id.
22
+ * Log message ended with null terminator and takes BUF_SIZE slot. The
23
+ * long log message can occupy several logging slots.
27
24
*/
28
25
29
26
static void init (void )
You can’t perform that action at this time.
0 commit comments