Skip to content

Commit

Permalink
Fix broken Chef NRF build caused by #18983 and #18955
Browse files Browse the repository at this point in the history
  • Loading branch information
cpagravel committed Jun 4, 2022
1 parent 6544002 commit 2b18010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/chef/nrfconnect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ set(PIGWEED_ROOT "${CHIP_ROOT}/third_party/pigweed/repo")
include(${PIGWEED_ROOT}/pw_build/pigweed.cmake)
include(${PIGWEED_ROOT}/pw_protobuf_compiler/proto.cmake)

pw_set_module_config(pw_rpc_CONFIG pw_rpc.disable_global_mutex_config)
pw_set_backend(pw_log pw_log_basic)
pw_set_backend(pw_assert pw_assert_log)
pw_set_backend(pw_sys_io pw_sys_io.nrfconnect)
Expand Down
4 changes: 2 additions & 2 deletions examples/platform/nrfconnect/pw_sys_io/sys_io_nrfconnect.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#include "console/console.h"
#include "pw_sys_io/sys_io.h"
#include <cassert>
#include <zephyr/zephyr.h>
#include <zephyr.h>

#ifdef CONFIG_USB
#include <zephyr/usb/usb_device.h>
#include <usb/usb_device.h>
#endif

extern "C" void pw_sys_io_Init()
Expand Down

0 comments on commit 2b18010

Please sign in to comment.