Bluetooth: services: Move Current Time service sample
Move the Current Time service into the sample that demonstrates it. This avoids long build paths Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
eecc58fafd
commit
88f13ebab6
4 changed files with 2 additions and 4 deletions
|
@ -6,7 +6,5 @@ project(peripheral)
|
||||||
|
|
||||||
target_sources(app PRIVATE
|
target_sources(app PRIVATE
|
||||||
src/main.c
|
src/main.c
|
||||||
../gatt/cts.c
|
src/cts.c
|
||||||
)
|
)
|
||||||
|
|
||||||
zephyr_library_include_directories($ENV{ZEPHYR_BASE}/samples/bluetooth)
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include <bluetooth/services/bas.h>
|
#include <bluetooth/services/bas.h>
|
||||||
#include <bluetooth/services/hrs.h>
|
#include <bluetooth/services/hrs.h>
|
||||||
|
|
||||||
#include <gatt/cts.h>
|
#include "cts.h"
|
||||||
|
|
||||||
/* Custom Service Variables */
|
/* Custom Service Variables */
|
||||||
static struct bt_uuid_128 vnd_uuid = BT_UUID_INIT_128(
|
static struct bt_uuid_128 vnd_uuid = BT_UUID_INIT_128(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue