Skip to content

Commit 05822fc

Browse files
finikorgjhedberg
authored andcommitted
logging: log_backend_adsp: Cleanup logging
Fix syntax error in comments and remove unneeded headers. Signed-off-by: Andrei Emeltchenko <[email protected]>
1 parent a14cba8 commit 05822fc

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

subsys/logging/log_backend_adsp.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
#include <logging/log_msg.h>
1010
#include <logging/log_output.h>
1111
#include <sys/ring_buffer.h>
12-
#include <zephyr.h>
13-
#include <device.h>
14-
#include <assert.h>
15-
#include <soc.h>
1612

1713
#define BUF_SIZE 64
1814

@@ -21,9 +17,10 @@ BUILD_ASSERT(CONFIG_LOG_BACKEND_ADSP_RINGBUF_SIZE % BUF_SIZE == 0);
2117
static struct ring_buf ringbuf;
2218

2319
/*
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.
2724
*/
2825

2926
static void init(void)

0 commit comments

Comments
 (0)