mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Don't swamp the system with broadcast messages that nobody is listening to yet anyway.
Also, these messages should probably be done in a different way, like an update every second (or maybe half-second) This should fix FS#10006 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20294 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bf8a2775bb
commit
105fe0679d
1 changed files with 2 additions and 0 deletions
|
@ -532,6 +532,7 @@ void usb_storage_transfer_complete(int ep,int dir,int status,int length)
|
|||
}
|
||||
//logf("csw sent, now go back to idle");
|
||||
state = WAITING_FOR_COMMAND;
|
||||
#if 0
|
||||
if(cur_cmd.cur_cmd == SCSI_WRITE_10)
|
||||
{
|
||||
queue_broadcast(SYS_USB_WRITE_DATA, (cur_cmd.lun<<16)+cur_cmd.orig_count);
|
||||
|
@ -540,6 +541,7 @@ void usb_storage_transfer_complete(int ep,int dir,int status,int length)
|
|||
{
|
||||
queue_broadcast(SYS_USB_READ_DATA, (cur_cmd.lun<<16)+cur_cmd.orig_count);
|
||||
}
|
||||
#endif
|
||||
usb_drv_recv(ep_out, tb.transfer_buffer, 1024);
|
||||
break;
|
||||
case SENDING_RESULT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue