updates

Dependencies:   BLE_API mbed-dev-bin nRF51822

Fork of microbit-dal-eddystone by Martin Woolley

Revision:
35:8ce23bc1af38
Parent:
32:ece16b5987dd
Child:
37:b624ae5e94a5
--- a/inc/drivers/MicroBitStorage.h	Wed Jul 13 12:18:13 2016 +0100
+++ b/inc/drivers/MicroBitStorage.h	Wed Jul 13 12:18:14 2016 +0100
@@ -162,13 +162,9 @@
       *
       * @param data a pointer to the beginning of the data to be persisted.
       *
-      * @param dataSize the size of the data to be persisted
-      *
-      * @return MICROBIT_OK on success, MICROBIT_INVALID_PARAMETER if the key or size is too large,
-      *         MICROBIT_NO_RESOURCES if the storage page is full
+      * @return MICROBIT_OK on success, or MICROBIT_NO_RESOURCES if the storage page is full
       */
-    int put(const char* key, uint8_t* data, int dataSize);
-
+    int put(const char* key, uint8_t* data);
 
     /**
       * Places a given key, and it's corresponding value into flash at the earliest
@@ -178,12 +174,9 @@
       *
       * @param data a pointer to the beginning of the data to be persisted.
       *
-      * @param dataSize the size of the data to be persisted
-      *
-      * @return MICROBIT_OK on success, MICROBIT_INVALID_PARAMETER if the key or size is too large,
-      *         MICROBIT_NO_RESOURCES if the storage page is full
+      * @return MICROBIT_OK on success, or MICROBIT_NO_RESOURCES if the storage page is full
       */
-    int put(ManagedString key, uint8_t* data, int dataSize);
+    int put(ManagedString key, uint8_t* data);
 
     /**
       * Retreives a KeyValuePair identified by a given key.