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_HeartRate_IDB0XA1
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/BlueNRGGap.cpp
- Revision:
- 138:32e3c4ca7a45
- Parent:
- 135:f0b6cf8ac4fc
- Child:
- 142:adf1567d3900
--- a/source/BlueNRGGap.cpp Wed Oct 07 16:19:40 2015 +0200 +++ b/source/BlueNRGGap.cpp Thu Oct 08 07:29:43 2015 +0200 @@ -289,7 +289,7 @@ * ADV timeout callback */ // ANDREA: mbedOS -#ifdef YOTTA_CFG_MBED_OS +#ifdef AST_FOR_MBED_OS static void advTimeoutCB(void) { Gap::GapState_t state; @@ -316,7 +316,7 @@ } } -#endif /* YOTTA_CFG_MBED_OS */ +#endif /* AST_FOR_MBED_OS */ /**************************************************************************/ /*! @@ -456,7 +456,7 @@ if(params.getTimeout() != 0) { PRINTF("!!! attaching to!!!\n"); // ANDREA: mbedOS -#ifdef YOTTA_CFG_MBED_OS +#ifdef AST_FOR_MBED_OS minar::Scheduler::postCallback(advTimeoutCB).delay(minar::milliseconds(params.getTimeout())); #else advTimeout.attach(advTimeoutCB, params.getTimeout());