Nordic stack and drivers for the mbed BLE API

Dependents:   BLE_Health_Thermometer2

Fork of nRF51822 by Nordic Semiconductor

Revision:
45:3c4df37ed83e
Parent:
0:eff01767de02
--- a/nordic/pstorage_platform.h	Fri Jul 11 13:53:30 2014 +0100
+++ b/nordic/pstorage_platform.h	Wed Jul 16 10:53:07 2014 +0100
@@ -22,6 +22,10 @@
 #include <stdint.h>
 #include "nordic_global.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif // #ifdef __cplusplus
+
 #define PSTORAGE_FLASH_PAGE_SIZE    ((uint16_t)NRF_FICR->CODEPAGESIZE)   /**< Size of one flash page. */
 #define PSTORAGE_FLASH_EMPTY_MASK    0xFFFFFFFF                          /**< Bit mask that defines an empty address in flash. */
 
@@ -56,6 +60,10 @@
 /**@brief Handles Flash Access Result Events. To be called in the system event dispatcher of the application. */
 void pstorage_sys_event_handler (uint32_t sys_evt);
 
+#ifdef __cplusplus
+}
+#endif // #ifdef __cplusplus
+
 #endif // PSTORAGE_PL_H__
 
 /** @} */