diff options
| author | hathach <[email protected]> | 2014-03-13 17:06:18 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-13 17:06:18 +0700 |
| commit | 8fbafc460cceb6943179c0b0613d619bb9511b3c (patch) | |
| tree | 90bfc29c4924923c2bf1cfb19ec0372f26ab7cc0 /demos | |
| parent | 1940f9f0f79a98a35c0cbbdd72125f729770af61 (diff) | |
fix a problem with dcd 13uxx dcd_pipe_clear_stall that should clear toggle for buffer0 (instead of active buffer)
as the next transfer is always forced to be happened on buffer0
Diffstat (limited to 'demos')
| -rw-r--r-- | demos/device/src/mscd_app_romdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/device/src/mscd_app_romdisk.c b/demos/device/src/mscd_app_romdisk.c index c59b55858..6001bb900 100644 --- a/demos/device/src/mscd_app_romdisk.c +++ b/demos/device/src/mscd_app_romdisk.c @@ -105,7 +105,7 @@ uint16_t tusbd_msc_read10_cb (uint8_t coreid, uint8_t lun, void** pp_buffer, uin return 1;
}
-// Stall write10 as this is readonly disk
+// Stall write10 by return 0, as this is readonly disk
uint16_t tusbd_msc_write10_cb(uint8_t coreid, uint8_t lun, void** pp_buffer, uint32_t lba, uint16_t block_count)
{
(*pp_buffer) = NULL;
|
