Openwear requires RC oscillator to be used

Fork of nRF51822 by Nordic Semiconductor

Files at this revision

API Documentation at this revision

Comitter:
Rohit Grover
Date:
Thu Jun 26 14:58:41 2014 +0100
Parent:
32:84dea0924a63
Child:
34:48d24b1d2fe6
Commit message:
disabling the persistent storage module; will be re-enabled as necessary
Is needed only for storing bonding information.
Was taking up excessive amounts of RAM.

Changed in this revision

btle/btle.cpp Show annotated file Show diff for this revision Revisions of this file
nordic/app_common/pstorage.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/btle/btle.cpp	Thu Jun 26 14:06:37 2014 +0100
+++ b/btle/btle.cpp	Thu Jun 26 14:58:41 2014 +0100
@@ -57,7 +57,9 @@
 /**************************************************************************/
 static void sys_evt_dispatch(uint32_t sys_evt)
 {
+#if NEED_PSTORAGE /* disabled by default */
     pstorage_sys_event_handler(sys_evt);
+#endif
 }
 
 /**************************************************************************/
--- a/nordic/app_common/pstorage.cpp	Thu Jun 26 14:06:37 2014 +0100
+++ b/nordic/app_common/pstorage.cpp	Thu Jun 26 14:58:41 2014 +0100
@@ -10,6 +10,8 @@
  *
  */
 
+#if NEED_PSTORAGE /* disabled by default */
+
 #include <stdlib.h>
 #include <stdint.h>
 #include <string.h>
@@ -757,3 +759,4 @@
 }
 
 #endif // PSTORAGE_RAW_MODE_ENABLE
+#endif /* #if NEED_PSTORAGE */