summaryrefslogtreecommitdiff
path: root/src/Components/Ble/CurrentTimeClient.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-05-01 19:58:31 (GMT)
committerJF <jf@codingfield.com>2020-05-01 19:58:31 (GMT)
commit87c6556ad049077ab14398637031ea029b321baf (patch)
tree55fbc74c2ea30425a5def6deab44433581445958 /src/Components/Ble/CurrentTimeClient.cpp
parent56b527925ce64bc0a9ef4b0ca51a1648b6400e04 (diff)
Defer the discovery of services using the system task.
Diffstat (limited to 'src/Components/Ble/CurrentTimeClient.cpp')
-rw-r--r--src/Components/Ble/CurrentTimeClient.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Components/Ble/CurrentTimeClient.cpp b/src/Components/Ble/CurrentTimeClient.cpp
index fdebc08..caec39d 100644
--- a/src/Components/Ble/CurrentTimeClient.cpp
+++ b/src/Components/Ble/CurrentTimeClient.cpp
@@ -10,10 +10,6 @@ CurrentTimeClient::CurrentTimeClient(DateTime& dateTimeController) : dateTimeCon
}
-void CurrentTimeClient::Init() {
-
-}
-
bool CurrentTimeClient::OnDiscoveryEvent(uint16_t connectionHandle, const ble_gatt_error *error, const ble_gatt_svc *service) {
if(service == nullptr && error->status == BLE_HS_EDONE) {
NRF_LOG_INFO("CTS Discovery complete");