You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by we...@apache.org on 2016/10/06 03:47:18 UTC

[2/2] incubator-mynewt-core git commit: Fix build issues with changes to syscfg.

Fix build issues with changes to syscfg.


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

Branch: refs/heads/develop
Commit: ba4aa33b0b3210858c7a4091c66c9ee69547f402
Parents: ab85825
Author: William San Filippo <wi...@runtime.io>
Authored: Tue Oct 4 17:43:21 2016 -0700
Committer: William San Filippo <wi...@runtime.io>
Committed: Wed Oct 5 20:47:10 2016 -0700

----------------------------------------------------------------------
 apps/bletest/src/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/ba4aa33b/apps/bletest/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bletest/src/main.c b/apps/bletest/src/main.c
index 13bcdfa..09969cb 100755
--- a/apps/bletest/src/main.c
+++ b/apps/bletest/src/main.c
@@ -617,7 +617,7 @@ bletest_get_packet(void)
     struct os_mbuf *om;
 
     om = NULL;
-    if (g_mbuf_pool.omp_pool->mp_num_free >= 5) {
+    if (os_msys_num_free() >= 5) {
         om = os_msys_get_pkthdr(BLE_MBUF_PAYLOAD_SIZE,
                                 sizeof(struct ble_mbuf_hdr));
     }
@@ -630,7 +630,7 @@ bletest_execute_advertiser(void)
     int i;
 #if (BLETEST_CONCURRENT_CONN_TEST == 1)
     int j;
-#if (BLE_LL_CFG_FEAT_LE_ENCRYPTION == 1)
+#if (MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_ENCRYPTION) == 1)
     uint16_t mask;
     uint16_t reply_handle;
 #endif