Wouter van Kleunen / X_NUCLEO_IDB0XA1

Fork of X_NUCLEO_IDB0XA1 by ST

Files at this revision

API Documentation at this revision

Comitter:
Wolfgang Betz
Date:
Wed Oct 28 08:04:25 2015 +0100
Parent:
153:661dfc1a3088
Child:
155:3aa64b6ac12d
Commit message:
Minor modification

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 08:00:53 2015 +0100
+++ b/source/BlueNRGGap.cpp	Wed Oct 28 08:04:25 2015 +0100
@@ -1021,17 +1021,14 @@
     PRINTF("DISCOVERY_COMPLETE\n\r");
     _scanning = false;
 
-    // We need to wait for a while before creating a connection due to
-    // BlueNRG process queue handling
+    // 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 {
       PRINTF("re-startRadioScan\n\r");
-      // FIXME: We need to wait for a while before creating a connection
-      // due to BlueNRG process queue handling
-      Clock_Wait(100);
       startRadioScan(_scanningParams);
     }