From a62b92737175bfac471772cf0d8d57aea4edb08c Mon Sep 17 00:00:00 2001 From: Christopher Collins Date: Thu, 2 Mar 2017 17:03:21 -0800 Subject: [PATCH] MYNEWT-492 - Remove unused obsolete settings. X-Original-Commit: cc8ead34b536f13ed20ab6ea10137550b2262c89 --- nimble/host/src/ble_hs.c | 3 --- nimble/host/syscfg.yml | 5 ----- 2 files changed, 8 deletions(-) diff --git a/nimble/host/src/ble_hs.c b/nimble/host/src/ble_hs.c index ae7b4f5dc..9fb57027c 100644 --- a/nimble/host/src/ble_hs.c +++ b/nimble/host/src/ble_hs.c @@ -61,9 +61,6 @@ static struct os_event ble_hs_ev_start = { uint8_t ble_hs_sync_state; static int ble_hs_reset_reason; -#define BLE_HS_HEARTBEAT_OS_TICKS \ - (MYNEWT_VAL(BLE_HS_HEARTBEAT_FREQ) * OS_TICKS_PER_SEC / 1000) - #define BLE_HS_SYNC_RETRY_RATE (OS_TICKS_PER_SEC / 10) static struct os_task *ble_hs_parent_task; diff --git a/nimble/host/syscfg.yml b/nimble/host/syscfg.yml index be9d953a4..6a52b8279 100644 --- a/nimble/host/syscfg.yml +++ b/nimble/host/syscfg.yml @@ -34,11 +34,6 @@ syscfg.defs: description: 'TBD' value: 1 - # Misc settings. - BLE_HS_HEARTBEAT_FREQ: - description: 'Milliseconds.' - value: 1000 - # L2CAP settings. BLE_L2CAP_MAX_CHANS: description: 'TBD'