Skip to content

Commit

Permalink
zephyr: Update include paths to use the zephyr namespace.
Browse files Browse the repository at this point in the history
Zephyr v3.1.0 moved all public headers to include/zephyr. Updates a few
Zephyr include paths that were missed in
4fd54a4.

Signed-off-by: Maureen Helm <[email protected]>
  • Loading branch information
MaureenHelm authored and dpgeorge committed Oct 1, 2024
1 parent 17d8234 commit 3a3dbf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ports/zephyr/modbluetooth_zephyr.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

#if MICROPY_PY_BLUETOOTH

#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/hci.h>
#include "extmod/modbluetooth.h"

#define DEBUG_printf(...) // printk("BLE: " __VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion ports/zephyr/mpconfigport_minimal.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// Include Zephyr's autoconf.h, which should be made first by Zephyr makefiles
#include "autoconf.h"
// Included here to get basic Zephyr environment (macros, etc.)
#include <zephyr.h>
#include <zephyr/zephyr.h>

// Usually passed from Makefile
#ifndef MICROPY_HEAP_SIZE
Expand Down

0 comments on commit 3a3dbf5

Please sign in to comment.