1
0
Fork 0
forked from len0rd/rockbox

usb stack: add more verbose debug logf()s

Change-Id: I087aefd2854978813c7e4ed7ef7da400f3692e39
This commit is contained in:
Marcin Bukat 2013-07-24 22:40:12 +02:00
parent 074e911859
commit 49bcf35309
2 changed files with 7 additions and 2 deletions

View file

@ -753,6 +753,7 @@ static void handle_scsi(struct command_block_wrapper* cbw)
unsigned int block_size_mult = 1;
if(letoh32(cbw->signature) != CBW_SIGNATURE) {
logf("ums: bad cbw signature (%x)", cbw->signature);
usb_drv_stall(ep_in, true,true);
usb_drv_stall(ep_out, true,false);
return;