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 nRF51822 by
Diff: nordic/nrf-sdk/app_common/app_gpiote.h
- Revision:
- 45:3c4df37ed83e
- Parent:
- 43:e1d294ed29c4
- Child:
- 65:98215c4f3a25
--- a/nordic/nrf-sdk/app_common/app_gpiote.h Fri Jul 11 13:53:30 2014 +0100 +++ b/nordic/nrf-sdk/app_common/app_gpiote.h Wed Jul 16 10:53:07 2014 +0100 @@ -46,6 +46,10 @@ #include "app_error.h" #include "app_util.h" +#ifdef __cpluplus +extern "C" { +#endif + #define GPIOTE_USER_NODE_SIZE 20 /**< Size of app_gpiote.gpiote_user_t (only for use inside APP_GPIOTE_BUF_SIZE()). */ #define NO_OF_PINS 32 /**< Number of GPIO pins on the nRF51 chip. */ @@ -213,6 +217,9 @@ */ uint32_t app_gpiote_disable_interrupts(void); +#ifdef __cpluplus +} +#endif #endif // APP_GPIOTE_H__