BLE_API wrapper library for STMicroelectronics' BlueNRG Bluetooth Low Energy expansion board shield

Fork of X_NUCLEO_IDB0XA1 by ST Expansion SW Team

Revision:
135:f0b6cf8ac4fc
Parent:
134:d2f8d5898d04
Child:
138:32e3c4ca7a45
--- a/source/platform/btle.cpp	Wed Oct 07 14:34:24 2015 +0200
+++ b/source/platform/btle.cpp	Wed Oct 07 15:35:34 2015 +0200
@@ -193,7 +193,7 @@
                             strlen(name), (tHalUint8 *)name);*/
 
     // Andrea: mbedOS
-#ifdef YOTTA_CFG
+#ifdef YOTTA_CFG_MBED_OS
     minar::Scheduler::postCallback(btle_handler);
 #endif
     return;
@@ -208,7 +208,7 @@
     @returns
 */
 /**************************************************************************/
-#ifdef YOTTA_CFG
+#ifdef YOTTA_CFG_MBED_OS
 int btle_handler_pending = 0;
 
 void btle_handler(void)