Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit 01adfdc

Browse files
committed
Cordio: set WSF_MS_PER_TICK to 10
Restore BLE low power functionality after arduino-libraries/ArduinoBLE#44
1 parent 67ef327 commit 01adfdc

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
From ed8c98c69e1866450591532e28c1a6421a231630 Mon Sep 17 00:00:00 2001
2+
From: Martino Facchin <m.facchin@arduino.cc>
3+
Date: Mon, 2 Dec 2019 10:55:07 +0100
4+
Subject: [PATCH] Cordio: set WSF_MS_PER_TICK default as 10
5+
6+
---
7+
features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json | 4 ++--
8+
1 file changed, 2 insertions(+), 2 deletions(-)
9+
10+
diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json b/features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json
11+
index 165b63f15e..39a3ae2643 100644
12+
--- a/features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json
13+
+++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json
14+
@@ -1,6 +1,6 @@
15+
{
16+
"name": "cordio",
17+
- "macros": [ "WSF_MS_PER_TICK=1" ],
18+
+ "macros": [ "WSF_MS_PER_TICK=10" ],
19+
"config": {
20+
"max-connections": {
21+
"help": "Maximum number of connections",
22+
@@ -65,4 +65,4 @@
23+
"macro_name": "SEC_CCM_CFG"
24+
}
25+
}
26+
-}
27+
\ No newline at end of file
28+
+}
29+
--
30+
2.24.0
31+

0 commit comments

Comments
 (0)