gjhn

Dependents:   BLE_GENERALE

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
164:51bba7d36eb4
Parent:
163:4c008b1089e9
Child:
165:3576598c0889
--- a/source/BlueNRGGap.cpp	Fri Oct 30 10:26:15 2015 +0100
+++ b/source/BlueNRGGap.cpp	Fri Oct 30 14:08:52 2015 +0100
@@ -1072,7 +1072,7 @@
 					     addr_type,
 					     1); // 1 to filter duplicates
   if (ret != BLE_STATUS_SUCCESS) {
-    printf("Start Discovery Procedure failed (0x%02X)\n\r", ret);
+    PRINTF("Start Discovery Procedure failed (0x%02X)\n\r", ret);
     // FIXME: We need to wait for a while before starting discovery proc
     // due to BlueNRG process queue handling
     // NOTE: this workaround causes a potential risk for an endless loop!!!
@@ -1163,7 +1163,7 @@
 				  SUPERV_TIMEOUT, CONN_L1 , CONN_L2);
   
   if (ret != BLE_STATUS_SUCCESS) {
-    printf("Error while starting connection (ret=0x%02X).\n\r", ret);
+    PRINTF("Error while starting connection (ret=0x%02X).\n\r", ret);
     // FIXME: We need to wait for a while before creating a connection
     // due to BlueNRG process queue handling
     // NOTE: this workaround causes a potential risk for an endless loop!!!