Compilation fix for newer mbed-os
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/platform/btle.cpp
- Revision:
- 138:32e3c4ca7a45
- Parent:
- 135:f0b6cf8ac4fc
- Child:
- 139:3a75965fd389
diff -r 5baea3b414d9 -r 32e3c4ca7a45 source/platform/btle.cpp --- a/source/platform/btle.cpp Wed Oct 07 16:19:40 2015 +0200 +++ b/source/platform/btle.cpp Thu Oct 08 07:29:43 2015 +0200 @@ -193,7 +193,7 @@ strlen(name), (tHalUint8 *)name);*/ // Andrea: mbedOS -#ifdef YOTTA_CFG_MBED_OS +#ifdef AST_FOR_MBED_OS minar::Scheduler::postCallback(btle_handler); #endif return; @@ -208,7 +208,7 @@ @returns */ /**************************************************************************/ -#ifdef YOTTA_CFG_MBED_OS +#ifdef AST_FOR_MBED_OS int btle_handler_pending = 0; void btle_handler(void)