Skip to content

Commit

Permalink
debug: tracing: Fix compilation error
Browse files Browse the repository at this point in the history
This commit adds the kernel.h include in order to provide
sys_clock_hw_cycles_per_sec() declaration.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
  • Loading branch information
pizi-nordic authored and carlescufi committed Jul 24, 2019
1 parent 70d61cd commit 4fc2445
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subsys/debug/tracing/sysview_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <kernel.h>
#include <SEGGER_SYSVIEW.h>
#include "SEGGER_SYSVIEW_Zephyr.h"

Expand Down

0 comments on commit 4fc2445

Please sign in to comment.