MYNEWT-711 testbench - Add BLE peripheral support Fix build error when BLE disabled.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/66ab7caf Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/66ab7caf Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/66ab7caf Branch: refs/heads/master Commit: 66ab7caf6479d9cc417ec270551110b65501b5ca Parents: 9624a79 Author: Christopher Collins <ccoll...@apache.org> Authored: Wed Apr 5 14:56:16 2017 -0700 Committer: Christopher Collins <ccoll...@apache.org> Committed: Wed Apr 5 14:56:16 2017 -0700 ---------------------------------------------------------------------- apps/testbench/src/tbb.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/66ab7caf/apps/testbench/src/tbb.h ---------------------------------------------------------------------- diff --git a/apps/testbench/src/tbb.h b/apps/testbench/src/tbb.h index cb8edf1..c159077 100644 --- a/apps/testbench/src/tbb.h +++ b/apps/testbench/src/tbb.h @@ -21,14 +21,15 @@ #define H_TBB_ #include "syscfg/syscfg.h" -#include "log/log.h" + +#if MYNEWT_VAL(TESTBENCH_BLE) + #include "nimble/ble.h" #ifdef __cplusplus extern "C" { #endif -#if MYNEWT_VAL(TESTBENCH_BLE) void tbb_init(void);