Erik - / USBFileSystem

Dependencies:   USBDevice

Dependents:   SD_USB_FS_HelloWorld S25FL216K_USBFileSystem USBFileSystem_RAMDISK_HelloWorld

Files at this revision

API Documentation at this revision

Comitter:
Sissors
Date:
Sun Jan 18 21:43:06 2015 +0000
Parent:
7:da1f3328a496
Commit message:
Actually use count argument

Changed in this revision

USBFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/USBFileSystem.cpp	Sun Jan 18 21:31:55 2015 +0000
+++ b/USBFileSystem.cpp	Sun Jan 18 21:43:06 2015 +0000
@@ -83,7 +83,7 @@
         usbfree = false;
         }
   
-    int retval= _disk_write(data, block, 1);
+    int retval= _disk_write(data, block, count);
 
     if (localSafe())
         usb_write.attach_us(this, &USBFileSystem::usbFree, USBWRITE_TIMEOUT * 1000);