test
Fork of nRF51822 by
Diff: source/btle/btle.cpp
- Revision:
- 448:b71e96a821de
- Parent:
- 445:8328a7d1eac2
diff -r 088f5738bf18 -r b71e96a821de source/btle/btle.cpp --- 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); }