logging: log_backend_adsp: Cleanup logging
Fix syntax error in comments and remove unneeded headers. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
a14cba891e
commit
05822fcd95
1 changed files with 4 additions and 7 deletions
|
@ -9,10 +9,6 @@
|
|||
#include <logging/log_msg.h>
|
||||
#include <logging/log_output.h>
|
||||
#include <sys/ring_buffer.h>
|
||||
#include <zephyr.h>
|
||||
#include <device.h>
|
||||
#include <assert.h>
|
||||
#include <soc.h>
|
||||
|
||||
#define BUF_SIZE 64
|
||||
|
||||
|
@ -21,9 +17,10 @@ BUILD_ASSERT(CONFIG_LOG_BACKEND_ADSP_RINGBUF_SIZE % BUF_SIZE == 0);
|
|||
static struct ring_buf ringbuf;
|
||||
|
||||
/*
|
||||
* Log message format
|
||||
* logging started with magic number 0x55aa followed by lo message id.
|
||||
* Log message ended with null terminator and takes BUF_SIZE slot
|
||||
* Log message format:
|
||||
* Logging started with magic number 0x55aa followed by log message id.
|
||||
* Log message ended with null terminator and takes BUF_SIZE slot. The
|
||||
* long log message can occupy several logging slots.
|
||||
*/
|
||||
|
||||
static void init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue