gjhn

Dependents:   BLE_GENERALE

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
245:6830f71c197c
Parent:
241:c13c2e31316d
Child:
253:9665a6f8bbdb
--- a/source/platform/btle.cpp	Mon Jun 20 17:20:23 2016 +0200
+++ b/source/platform/btle.cpp	Mon Jun 20 17:53:36 2016 +0200
@@ -90,11 +90,9 @@
 
 /**************************************************************************/
 /*!
-    @brief  Initialises BTLE and the underlying HW/Device
+    @brief  Init the BTLE stack with the specified role
     @param  isSetAddress boolean if address has been set
-    @param  mosi MOSI Pin
-    @param  miso MISO Pin
-    @param  sclk clock Pin
+    @param  role The device role
     @returns void
 */
 /**************************************************************************/
@@ -109,13 +107,6 @@
     uint16_t fwVersion;
     uint16_t service_handle, dev_name_char_handle, appearance_char_handle;
 
-    /* Delay needed only to be able to acces the JTAG interface after reset
-    if it will be disabled later. */
-    Clock_Wait(500);
-
-    /* Initialize the BlueNRG HCI */
-    HCI_Init();
-
     /* Reset BlueNRG SPI interface */
     BlueNRG_RST();