Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: GapAdvertisingParams.cpp
- Revision:
- 43:ac154ac74a30
- Parent:
- 40:d405c9b1419d
- Child:
- 44:959ac8f4b3f7
diff -r 06e75fee52cf -r ac154ac74a30 GapAdvertisingParams.cpp
--- a/GapAdvertisingParams.cpp Fri May 23 11:08:43 2014 +0100
+++ b/GapAdvertisingParams.cpp Fri May 23 13:12:52 2014 +0100
@@ -92,7 +92,7 @@
if (_advType == ADV_CONNECTABLE_DIRECTED) {
/* Interval must be 0 in directed connectable mode */
_interval = 0;
- } else if (_advType == ADV_NON_CONNECTABLE_UNDIRECTED) {
+ } else if (_advType == ADV_NON_CONNECTABLE_UNDIRECTED) {
/* Min interval is slightly larger than in other modes */
if (_interval < GAP_ADV_PARAMS_INTERVAL_MIN_NONCON) {
_interval = GAP_ADV_PARAMS_INTERVAL_MIN_NONCON;
@@ -100,7 +100,7 @@
if (_interval > GAP_ADV_PARAMS_INTERVAL_MAX) {
_interval = GAP_ADV_PARAMS_INTERVAL_MAX;
}
- } else {
+ } else {
/* Stay within interval limits */
if (_interval < GAP_ADV_PARAMS_INTERVAL_MIN) {
_interval = GAP_ADV_PARAMS_INTERVAL_MIN;
