Skip to content

Commit

Permalink
Fix support for Zephyr >= 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mmajchrzycki committed Nov 20, 2023
1 parent 2424fa7 commit 6215a79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Zpehyr 3.1.x and newer uses different include scheme
#include <version.h>
#if (KERNEL_VERSION_MAJOR > 3) || ((KERNEL_VERSION_MAJOR == 3) && (KERNEL_VERSION_MINOR >= 1))
#include <zephyr/kernel.h>
#else
Expand Down

0 comments on commit 6215a79

Please sign in to comment.