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.
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/platform/stm32_bluenrg_ble.cpp
- Revision:
- 139:3a75965fd389
- Parent:
- 138:32e3c4ca7a45
--- a/source/platform/stm32_bluenrg_ble.cpp Thu Oct 08 07:29:43 2015 +0200
+++ b/source/platform/stm32_bluenrg_ble.cpp Thu Oct 08 08:47:20 2015 +0200
@@ -38,7 +38,7 @@
/* Includes ------------------------------------------------------------------*/
#include "BlueNRGGap.h"
#include "BlueNRGDevice.h"
-#include "Utils.h"
+//#include "Utils.h"
#include "btle.h"
// FIXME: find a better way to get the instance of the BlueNRG device
@@ -166,16 +166,6 @@
bluenrgDeviceInstance.enable_irq();
}
-/**
- * @brief Disable SPI IRQ.
- * @param None
- * @retval None
- */
-void Disable_SPI_IRQ(void)
-{
- bluenrgDeviceInstance.disable_irq();
-}
-
#ifdef AST_FOR_MBED_OS
/**
* Call BTLE callback handler.
@@ -192,6 +182,16 @@
#endif
/**
+ * @brief Disable SPI IRQ.
+ * @param None
+ * @retval None
+ */
+void Disable_SPI_IRQ(void)
+{
+ bluenrgDeviceInstance.disable_irq();
+}
+
+/**
* @brief Clear Pending SPI IRQ.
* @param None
* @retval None
