test

Fork of nRF51822 by Nordic Semiconductor

Revision:
448:b71e96a821de
Parent:
445:8328a7d1eac2
--- a/source/btle/btle.cpp	Fri Sep 25 15:26:59 2015 +0100
+++ b/source/btle/btle.cpp	Sat Oct 10 09:19:50 2015 +0000
@@ -47,6 +47,9 @@
 
 static void sys_evt_dispatch(uint32_t sys_evt)
 {
+    if ((sys_evt != NRF_EVT_FLASH_OPERATION_SUCCESS) && (sys_evt != NRF_EVT_FLASH_OPERATION_ERROR)) {
+        return;
+    }
     pstorage_sys_event_handler(sys_evt);
 }