mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [27/50] [abbrv] incubator-mynewt-core git commit: fixup adv
Date Thu, 11 Aug 2016 21:27:27 GMT
fixup adv


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

Branch: refs/heads/phyrx_no_mbuf
Commit: 11a90c6a1c7ecd3ffdb4a374c1cad026ee0f463b
Parents: bec12a6
Author: Christopher Collins <ccollins@apache.org>
Authored: Tue Aug 9 17:01:02 2016 -0700
Committer: William San Filippo <wills@runtime.io>
Committed: Thu Aug 11 14:26:26 2016 -0700

----------------------------------------------------------------------
 net/nimble/host/include/host/ble_hs_adv.h | 3 +++
 net/nimble/host/src/ble_hs_adv.c          | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/11a90c6a/net/nimble/host/include/host/ble_hs_adv.h
----------------------------------------------------------------------
diff --git a/net/nimble/host/include/host/ble_hs_adv.h b/net/nimble/host/include/host/ble_hs_adv.h
index cbbb468..8ae2b00 100644
--- a/net/nimble/host/include/host/ble_hs_adv.h
+++ b/net/nimble/host/include/host/ble_hs_adv.h
@@ -22,6 +22,9 @@
 
 #include <inttypes.h>
 
+/** Max field payload size (account for 2-byte header). */
+#define BLE_HS_ADV_MAX_FIELD_SZ     (BLE_HCI_MAX_ADV_DATA_LEN - 2)
+
 struct ble_hs_adv_fields {
     /*** 0x01 - Flags. */
     uint8_t flags;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/11a90c6a/net/nimble/host/src/ble_hs_adv.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_hs_adv.c b/net/nimble/host/src/ble_hs_adv.c
index 305c672..fd7bfaf 100644
--- a/net/nimble/host/src/ble_hs_adv.c
+++ b/net/nimble/host/src/ble_hs_adv.c
@@ -23,9 +23,6 @@
 #include "host/ble_hs_adv.h"
 #include "ble_hs_priv.h"
 
-/** Max field paylaod size (account for 2-byte header). */
-#define BLE_HS_ADV_MAX_FIELD_SZ     (BLE_HCI_MAX_ADV_DATA_LEN - 2)
-
 static uint16_t ble_hs_adv_uuids16[BLE_HS_ADV_MAX_FIELD_SZ / 2];
 static uint32_t ble_hs_adv_uuids32[BLE_HS_ADV_MAX_FIELD_SZ / 4];
 


Mime
View raw message