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 X_NUCLEO_IDB0XA1 by
Revision 157:e27f00b5e251, committed 2015-10-28
- Comitter:
- Wolfgang Betz
- Date:
- Wed Oct 28 14:21:09 2015 +0100
- Parent:
- 156:662bb3992a03
- Child:
- 158:1b92852cfb71
- Commit message:
- Remove redundant waits
Changed in this revision
| source/BlueNRGGap.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/BlueNRGGap.cpp Wed Oct 28 14:04:55 2015 +0100
+++ b/source/BlueNRGGap.cpp Wed Oct 28 14:21:09 2015 +0100
@@ -1021,10 +1021,6 @@
PRINTF("DISCOVERY_COMPLETE\n\r");
_scanning = false;
- // FIXME: We need to wait for a while before creating a connection
- // due to BlueNRG process queue handling
- Clock_Wait(100);
-
if(_connecting) {
makeConnection();
} else {
@@ -1062,7 +1058,7 @@
// FIXME: We need to wait for a while before creating a connection
// due to BlueNRG process queue handling
- Clock_Wait(1000);
+ Clock_Wait(100);
}
if (ret != BLE_STATUS_SUCCESS) {
