Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Revision:
23:cdab28442479
Parent:
22:c6ee8136847e
Child:
24:3444ee6fd548
--- a/nRF51822n.cpp	Mon Jun 09 09:12:10 2014 +0100
+++ b/nRF51822n.cpp	Tue Jun 10 08:57:31 2014 +0100
@@ -16,6 +16,7 @@
 
 #include "mbed.h"
 #include "nRF51822n.h"
+#include "nrf_soc.h"
 
 #include "btle/btle.h"
 
@@ -104,3 +105,9 @@
 
     return BLE_ERROR_NONE;
 }
+
+void
+nRF51822n::waitForEvent(void)
+{
+    sd_app_evt_wait();
+}