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:
549:3f782c64d014
Parent:
546:1e147322b2b5
Child:
550:bcb632fc92df
--- a/source/nRF5xGap.h	Mon Jan 11 10:19:06 2016 +0000
+++ b/source/nRF5xGap.h	Mon Jan 11 10:19:06 2016 +0000
@@ -26,7 +26,11 @@
 #include "ble/GapScanningParams.h"
 
 #include "nrf_soc.h"
+
+extern "C" {
 #include "ble_radio_notification.h"
+}
+
 #include "btle_security.h"
 
 void radioNotificationStaticCallback(bool param);