Support GR-PEACH

Dependents:   USBMSD_SD_HelloWorld_Mbed

Fork of USBMSD_SD by Samuel Mokrani

Revision:
3:d3c63e45fe3a
Parent:
2:055119ccf5a7
--- a/USBMSD_SD.cpp	Mon Jan 21 10:40:05 2013 +0000
+++ b/USBMSD_SD.cpp	Fri Mar 13 15:46:09 2015 +0000
@@ -222,7 +222,7 @@
     return 0;
 }
 
-int USBMSD_SD::disk_write(const uint8_t *buffer, uint64_t block_number) {
+int USBMSD_SD::disk_write(const uint8_t *buffer, uint64_t block_number, uint8_t count) {
     // set write address for single block (CMD24)
     if (_cmd(24, block_number * cdv) != 0) {
         return 1;
@@ -233,7 +233,7 @@
     return 0;
 }
 
-int USBMSD_SD::disk_read(uint8_t *buffer, uint64_t block_number) {
+int USBMSD_SD::disk_read(uint8_t *buffer, uint64_t block_number, uint8_t count) {
     // set read address for single block (CMD17)
     if (_cmd(17, block_number * cdv) != 0) {
         return 1;