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: idd_hw5_bleFanProto
Fork of nRF51822 by
Diff: nordic/nrf-sdk/sd_common/softdevice_handler.h
- Revision:
- 45:3c4df37ed83e
- Parent:
- 37:c29c330d942c
- Child:
- 56:a1071b629aa3
--- a/nordic/nrf-sdk/sd_common/softdevice_handler.h Fri Jul 11 13:53:30 2014 +0100 +++ b/nordic/nrf-sdk/sd_common/softdevice_handler.h Wed Jul 16 10:53:07 2014 +0100 @@ -41,6 +41,10 @@ #include "ble_stack_handler_types.h" #include "ant_stack_handler_types.h" +#ifdef __cplusplus +extern "C" { +#endif // #ifdef __cplusplus + #define SOFTDEVICE_SCHED_EVT_SIZE 0 /**< Size of button events being passed through the scheduler (is to be used for computing the maximum size of scheduler events). For SoftDevice events, this size is 0, since the events are being pulled in the event handler. */ #define SYS_EVT_MSG_BUF_SIZE sizeof(uint32_t) /**< Size of System (SOC) event message buffer. */ @@ -160,6 +164,10 @@ } /**@endcond */ +#ifdef __cplusplus +} +#endif // #ifdef __cplusplus + #endif // SOFTDEVICE_HANDLER_H__ /** @} */