supported callback

Dependents:   GraphicPoi

Fork of RAM_DISK by Samuel Mokrani

Revision:
3:5b6b3320c4f4
Parent:
2:69984d40fc4b
--- a/USBMSD_Ram.h	Thu Dec 01 01:58:16 2016 +0000
+++ b/USBMSD_Ram.h	Thu Dec 01 06:29:29 2016 +0000
@@ -27,7 +27,7 @@
 
 //#define NB_SECTORS (10)
 #define RAW_SECTORS 6
-#define IMG_SECTORS 2000
+#define IMG_SECTORS 200
 
 /** Use the SDcard as mass storage device using the USBMSD class
  *
@@ -57,7 +57,7 @@
     virtual uint64_t disk_size();
     virtual int disk_ioctl (uint8_t pdrv, uint8_t cmd, void* buff);
 
-    void (*parseFat)(int sector, const uint8_t *buf);
+    void (*parseFat)(int sector, const uint8_t *buf, int len);
 
 protected:
     int _status;