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.
Dependents: BLE_LED_IDB0XA1_demo MOTOR_BLE_V2 Motor_Ble_v1 Motor_Ble_v10223 ... more
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/BlueNRGDevice.cpp
- Revision:
- 246:d73c4f798379
- Parent:
- 245:6830f71c197c
- Child:
- 247:932a44bdff4f
--- a/source/BlueNRGDevice.cpp Mon Jun 20 17:53:36 2016 +0200
+++ b/source/BlueNRGDevice.cpp Tue Jun 21 10:18:19 2016 +0200
@@ -110,12 +110,12 @@
wait_us(500);
+ // Prepare communication between the host and the BlueNRG SPI interface
+ HCI_Init();
+
// Set the interrupt handler for the device
irq_.mode(PullDown); // set irq mode
irq_.rise(&HCI_Isr);
-
- // Prepare communication between the host and the BlueNRG SPI interface
- HCI_Init();
}
/**************************************************************************/
