diff --git a/samples/bluetooth/peripheral_ht/CMakeLists.txt b/samples/bluetooth/peripheral_ht/CMakeLists.txt index afaa8213e6c..0d975bb57a2 100644 --- a/samples/bluetooth/peripheral_ht/CMakeLists.txt +++ b/samples/bluetooth/peripheral_ht/CMakeLists.txt @@ -8,7 +8,4 @@ project(peripheral_ht) FILE(GLOB app_sources src/*.c) target_sources(app PRIVATE ${app_sources} - ../gatt/hts.c ) - -zephyr_library_include_directories($ENV{ZEPHYR_BASE}/samples/bluetooth) diff --git a/samples/bluetooth/gatt/hts.c b/samples/bluetooth/peripheral_ht/src/hts.c similarity index 100% rename from samples/bluetooth/gatt/hts.c rename to samples/bluetooth/peripheral_ht/src/hts.c diff --git a/samples/bluetooth/gatt/hts.h b/samples/bluetooth/peripheral_ht/src/hts.h similarity index 100% rename from samples/bluetooth/gatt/hts.h rename to samples/bluetooth/peripheral_ht/src/hts.h diff --git a/samples/bluetooth/peripheral_ht/src/main.c b/samples/bluetooth/peripheral_ht/src/main.c index c83908bef94..3310bc50547 100644 --- a/samples/bluetooth/peripheral_ht/src/main.c +++ b/samples/bluetooth/peripheral_ht/src/main.c @@ -21,7 +21,7 @@ #include #include -#include +#include "hts.h" struct bt_conn *default_conn;