diff options
author | Damien <damien.p.george@gmail.com> | 2013-10-19 14:40:54 +0100 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-10-19 14:40:54 +0100 |
commit | 00ff04fc4932fc7c3fc2f9b9074f11c189045dad (patch) | |
tree | dcd6d14ed9ea2874f5c675aa877e5dd4982398bd /stm/lib | |
parent | 995b8aabb1ee786a4070d6d8392750ff878d53fa (diff) |
Working SysTick, code factoring, some boot-up code.
Diffstat (limited to 'stm/lib')
-rw-r--r-- | stm/lib/usbd_storage_msd.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/stm/lib/usbd_storage_msd.c b/stm/lib/usbd_storage_msd.c index 31ec16874..47790bb11 100644 --- a/stm/lib/usbd_storage_msd.c +++ b/stm/lib/usbd_storage_msd.c @@ -28,6 +28,7 @@ /* Includes ------------------------------------------------------------------*/
#include "usbd_msc_mem.h"
#include "usb_conf.h"
+#include "diskio.h"
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
* @{
@@ -256,12 +257,6 @@ int8_t STORAGE_IsWriteProtected (uint8_t lun) * @param blk_len : nmber of blocks to be read
* @retval Status
*/
-int disk_read (
- uint8_t pdrv, /* Physical drive nmuber (0..) */
- uint8_t *buff, /* Data buffer to store read data */
- uint32_t sector, /* Sector address (LBA) */
- uint32_t count /* Number of sectors to read (1..128) */
-);
int8_t STORAGE_Read (uint8_t lun,
uint8_t *buf,
uint32_t blk_addr,
@@ -291,12 +286,6 @@ int8_t STORAGE_Read (uint8_t lun, * @param blk_len : nmber of blocks to be read
* @retval Status
*/
-int disk_write (
- uint8_t pdrv, /* Physical drive nmuber (0..) */
- const uint8_t *buff, /* Data to be written */
- uint32_t sector, /* Sector address (LBA) */
- uint32_t count /* Number of sectors to write (1..128) */
-);
int8_t STORAGE_Write (uint8_t lun,
uint8_t *buf,
uint32_t blk_addr,
|