Skip to content

Commit

Permalink
zephyr: use <zephyr/kernel.h>
Browse files Browse the repository at this point in the history
<zephyr/zephyr.h> is a shim to the Kernel header, so let's use it
directly.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
  • Loading branch information
gmarull authored and arnopo committed May 16, 2022
1 parent e9d4531 commit 8bb3fa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/system/zephyr/assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef __METAL_ZEPHYR_ASSERT__H__
#define __METAL_ZEPHYR_ASSERT__H__

#include <zephyr/zephyr.h>
#include <zephyr/kernel.h>

/**
* @brief Assertion macro for Zephyr-based applications.
Expand Down
2 changes: 1 addition & 1 deletion lib/system/zephyr/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include <stdarg.h>
#include <metal/log.h>
#include <zephyr/zephyr.h>
#include <zephyr/kernel.h>

static const char * const level_strs[] = {
"metal: emergency: ",
Expand Down

0 comments on commit 8bb3fa3

Please sign in to comment.