You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/06/06 11:04:46 UTC

[3/9] incubator-mynewt-core git commit: bletiny - increase mbufs to 32 (was:16).

bletiny - increase mbufs to 32 (was:16).


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

Branch: refs/heads/upf54
Commit: f77f97968fe3beaa0f3da6e67f61427118eff82d
Parents: 7925354
Author: Christopher Collins <cc...@apache.org>
Authored: Mon Jun 6 18:25:33 2016 +0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Mon Jun 6 18:25:33 2016 +0800

----------------------------------------------------------------------
 apps/bletiny/src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f77f9796/apps/bletiny/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/main.c b/apps/bletiny/src/main.c
index 6d7ea26..8e7c457 100755
--- a/apps/bletiny/src/main.c
+++ b/apps/bletiny/src/main.c
@@ -75,7 +75,7 @@ uint8_t g_host_adv_len;
 static uint8_t bletiny_addr[6] = {0x01, 0x01, 0x01, 0x07, 0x08, 0x01};
 
 /* Create a mbuf pool of BLE mbufs */
-#define MBUF_NUM_MBUFS      (16)
+#define MBUF_NUM_MBUFS      (32)
 #define MBUF_BUF_SIZE       OS_ALIGN(BLE_MBUF_PAYLOAD_SIZE, 4)
 #define MBUF_MEMBLOCK_SIZE  (MBUF_BUF_SIZE + BLE_MBUF_MEMBLOCK_OVERHEAD)
 #define MBUF_MEMPOOL_SIZE   OS_MEMPOOL_SIZE(MBUF_NUM_MBUFS, MBUF_MEMBLOCK_SIZE)