Clone of the nRF51822 repository from github The correct home is https://github.com/lancaster-university/nRF51822

Dependencies:   nrf51-sdk

Dependents:   microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more

Revision:
525:d76f1c3f4599
Parent:
524:502e53732c75
Child:
541:884f95bf5351
diff -r 502e53732c75 -r d76f1c3f4599 source/btle/btle_security.cpp
--- a/source/btle/btle_security.cpp	Wed Dec 02 13:14:17 2015 +0000
+++ b/source/btle/btle_security.cpp	Wed Dec 02 13:14:17 2015 +0000
@@ -15,12 +15,15 @@
  */
 
 #include "btle.h"
-#include "pstorage.h"
 
 #include "nRF5xGap.h"
 #include "nRF5xSecurityManager.h"
 
+extern "C" {
+#include "pstorage.h"
 #include "device_manager.h"
+}
+
 #include "btle_security.h"
 
 static dm_application_instance_t applicationInstance;