テスト用

Fork of nRF51822 by Nordic Semiconductor

Revision:
23:cdab28442479
Parent:
22:c6ee8136847e
Child:
24:3444ee6fd548
diff -r c6ee8136847e -r cdab28442479 nRF51822n.cpp
--- 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();
+}