aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-04-19 21:26:09 +0200
committerJF <jf@codingfield.com>2020-04-19 21:26:09 +0200
commit2c9ce1cfc7d4c733b1b35f51a1f6f5da332cf3fa (patch)
tree81a915bf58eb15a7a7fccea1209a3d1081be8074 /src/main.cpp
parentdd6aecbf6b343e40f75808f5e26a077eb22a2ed2 (diff)
Encapsulate nimble code into NimbleController.
Handle all GAP events.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f4c5c60a..e3226929 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -27,7 +27,6 @@
#include <hal/nrf_wdt.h>
#include <host/util/util.h>
#include <services/gap/ble_svc_gap.h>
-#include <services/gatt/ble_svc_gatt.h>
#if NRF_LOG_ENABLED
@@ -242,8 +241,7 @@ int main(void) {
systemTask->Start();
nimble_port_init();
- ble_svc_gap_init();
- ble_svc_gatt_init();
+
// ble_manager_init();
// ble_manager_set_new_time_callback(OnNewTime);