My fork of X_NUCLEO_IDB0XA1

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
139:3a75965fd389
Parent:
138:32e3c4ca7a45
Child:
140:0cd922dca83c
diff -r 32e3c4ca7a45 -r 3a75965fd389 source/platform/btle.cpp
--- a/source/platform/btle.cpp	Thu Oct 08 07:29:43 2015 +0200
+++ b/source/platform/btle.cpp	Thu Oct 08 08:47:20 2015 +0200
@@ -368,7 +368,7 @@
                                 role = Gap::PERIPHERAL;
                                 break;
 			default:
-				role = Gap::CENTRAL;
+                                role = Gap::PERIPHERAL;
 				break;
                         }
                         //PRINTF("EVT_LE_CONN_COMPLETE GAP role=%d\n", role);