diff options
| author | JF <jf@codingfield.com> | 2020-04-19 21:26:09 +0200 |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-04-19 21:26:09 +0200 |
| commit | 2c9ce1cfc7d4c733b1b35f51a1f6f5da332cf3fa (patch) | |
| tree | 81a915bf58eb15a7a7fccea1209a3d1081be8074 /src/main.cpp | |
| parent | dd6aecbf6b343e40f75808f5e26a077eb22a2ed2 (diff) | |
Encapsulate nimble code into NimbleController.
Handle all GAP events.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
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); |
