Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SD_USB_FS_HelloWorld S25FL216K_USBFileSystem USBFileSystem_RAMDISK_HelloWorld
Revision 8:a9e1dffac4bd, committed 2015-01-18
- 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);