MYNEWT-492 - Remove unused obsolete settings.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/cc8ead34 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/cc8ead34 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/cc8ead34 Branch: refs/heads/master Commit: cc8ead34b536f13ed20ab6ea10137550b2262c89 Parents: 929e256 Author: Christopher Collins <[email protected]> Authored: Thu Mar 2 17:03:21 2017 -0800 Committer: Christopher Collins <[email protected]> Committed: Thu Mar 2 17:43:10 2017 -0800 ---------------------------------------------------------------------- mgmt/newtmgr/syscfg.yml | 24 ------------------------ net/nimble/host/src/ble_hs.c | 3 --- net/nimble/host/syscfg.yml | 5 ----- 3 files changed, 32 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/cc8ead34/mgmt/newtmgr/syscfg.yml ---------------------------------------------------------------------- diff --git a/mgmt/newtmgr/syscfg.yml b/mgmt/newtmgr/syscfg.yml deleted file mode 100644 index 6b5da78..0000000 --- a/mgmt/newtmgr/syscfg.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# Package: mgmt/newtmgr - -syscfg.defs: - NEWTMGR_BLE_HOST: - description: 'TBD' - value: 0 http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/cc8ead34/net/nimble/host/src/ble_hs.c ---------------------------------------------------------------------- diff --git a/net/nimble/host/src/ble_hs.c b/net/nimble/host/src/ble_hs.c index ae7b4f5..9fb5702 100644 --- a/net/nimble/host/src/ble_hs.c +++ b/net/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; http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/cc8ead34/net/nimble/host/syscfg.yml ---------------------------------------------------------------------- diff --git a/net/nimble/host/syscfg.yml b/net/nimble/host/syscfg.yml index be9d953..6a52b82 100644 --- a/net/nimble/host/syscfg.yml +++ b/net/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'
