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/05/17 20:30:09 UTC

[3/3] incubator-mynewt-core git commit: bleprph - Increase mbuf count for iPhone support.

bleprph - Increase mbuf count for iPhone support.


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

Branch: refs/heads/develop
Commit: 4a983075387019a9530d2c2336e55ff22e7dd129
Parents: afc0a74
Author: Christopher Collins <cc...@apache.org>
Authored: Tue May 17 13:28:11 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue May 17 13:30:03 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4a983075/apps/bleprph/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bleprph/src/main.c b/apps/bleprph/src/main.c
index d03f8b5..b02933e 100755
--- a/apps/bleprph/src/main.c
+++ b/apps/bleprph/src/main.c
@@ -43,7 +43,7 @@
 #define BSWAP16(x)  ((uint16_t)(((x) << 8) | (((x) & 0xff00) >> 8)))
 
 /** Mbuf settings. */
-#define MBUF_NUM_MBUFS      (8)
+#define MBUF_NUM_MBUFS      (12)
 #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)