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/03/23 18:41:53 UTC
incubator-mynewt-core git commit: Fix issue with not definining a
test type for BLETEST. It will default to concurrent connection test (as
opposed to throughput testing)
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/develop b799a81ec -> f0023fb62
Fix issue with not definining a test type for BLETEST. It will default to concurrent connection test (as opposed to throughput testing)
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/f0023fb6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f0023fb6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f0023fb6
Branch: refs/heads/develop
Commit: f0023fb62c40b3de4991de989fd8b1d352dc9e9b
Parents: b799a81
Author: wes3 <wi...@micosa.io>
Authored: Wed Mar 23 10:41:39 2016 -0700
Committer: wes3 <wi...@micosa.io>
Committed: Wed Mar 23 10:41:44 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/f0023fb6/apps/bletest/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bletest/src/main.c b/apps/bletest/src/main.c
index 0863bf4..67ba80a 100755
--- a/apps/bletest/src/main.c
+++ b/apps/bletest/src/main.c
@@ -114,8 +114,8 @@ os_membuf_t g_mbuf_buffer[MBUF_MEMPOOL_SIZE];
#define BLETEST_CFG_CONCURRENT_CONNS (1)
/* Test configurations. One of these should be set to 1 */
-#if ((BLETEST_CONCURRENT_CONN_TEST == 0) && (BLETEST_THROUGHPUT_TEST == 0))
- #error "Target must define at least one test type!"
+#if !defined(BLETEST_CONCURRENT_CONN_TEST) && !defined(BLETEST_THROUGHPUT_TEST)
+ #define BLETEST_CONCURRENT_CONN_TEST (1)
#endif
/* BLETEST variables */