You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by na...@apache.org on 2019/01/31 16:50:26 UTC
[mynewt-nimble] branch master updated: porting/linux: Fix missing
MYNEWT_VAL define
This is an automated email from the ASF dual-hosted git repository.
naraj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new aebc46f porting/linux: Fix missing MYNEWT_VAL define
aebc46f is described below
commit aebc46f61f173d6e0cf9ed19f3b277cc259fb596
Author: MichaĆ Narajowski <mi...@codecoup.pl>
AuthorDate: Thu Jan 31 17:12:22 2019 +0100
porting/linux: Fix missing MYNEWT_VAL define
Fixes a regression introduced in Nimble PR #315.
---
porting/examples/linux/include/syscfg/syscfg.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/porting/examples/linux/include/syscfg/syscfg.h b/porting/examples/linux/include/syscfg/syscfg.h
index 244aad8..01eeb2d 100644
--- a/porting/examples/linux/include/syscfg/syscfg.h
+++ b/porting/examples/linux/include/syscfg/syscfg.h
@@ -605,6 +605,10 @@
#define MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM (1)
#endif
+#ifndef MYNEWT_VAL_BLE_L2CAP_COC_MTU
+#define MYNEWT_VAL_BLE_L2CAP_COC_MTU (MYNEWT_VAL_MSYS_1_BLOCK_SIZE - 8)
+#endif
+
#ifndef MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS
#define MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS (1)
#endif