You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/03/07 00:05:10 UTC

[15/50] incubator-mynewt-core git commit: MYNEWT-492 - Remove unused obsolete settings.

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/fdc8e21b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/fdc8e21b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/fdc8e21b

Branch: refs/heads/1_0_0_dev
Commit: fdc8e21b0b8789dbbb85fb022f8c2ee2b0ecca2f
Parents: dffe450
Author: Christopher Collins <cc...@apache.org>
Authored: Thu Mar 2 17:03:21 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Mar 6 15:49:33 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/fdc8e21b/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/fdc8e21b/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/fdc8e21b/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'