|
|
@@ -132,7 +132,7 @@ BLOCK_TYPE mass_block[BLOCK_COUNT];
|
|
|
|
|
|
void usbd_msc_get_cap(uint8_t lun, uint32_t *block_num, uint16_t *block_size)
|
|
|
{
|
|
|
- *block_num = BLOCK_COUNT; //Pretend having so many buffer,not has actually.
|
|
|
+ *block_num = 1000; //Pretend having so many buffer,not has actually.
|
|
|
*block_size = BLOCK_SIZE;
|
|
|
}
|
|
|
int usbd_msc_sector_read(uint32_t sector, uint8_t *buffer, uint32_t length)
|