Filesystem library designed for flash devices

Dependents:   flash-fs-example Dragonfly_Filesystem_Example STM32F407VET6_SPIFlash Dragonfly_Filesystem_Example_mbed_5

Revision:
2:de478b250060
Parent:
0:bb4e812f7c97
Child:
3:9adcf49bb77d
--- a/spiffs.h	Mon Dec 29 12:44:24 2014 -0600
+++ b/spiffs.h	Mon Dec 29 14:10:45 2014 -0600
@@ -204,7 +204,7 @@
 
 #if SPIFFS_CACHE
   // cache memory
-  void *cache;
+  u8_t *cache;
   // cache size
   u32_t cache_size;
 #if SPIFFS_CACHE_STATS
@@ -254,7 +254,7 @@
  */
 s32_t SPIFFS_mount(spiffs *fs, spiffs_config *config, u8_t *work,
     u8_t *fd_space, u32_t fd_space_size,
-    void *cache, u32_t cache_size,
+    u8_t *cache, u32_t cache_size,
     spiffs_check_callback check_cb_f);
 
 /**
@@ -426,4 +426,4 @@
 }
 #endif
 
-#endif /* SPIFFS_H_ */
\ No newline at end of file
+#endif /* SPIFFS_H_ */