acknowledge SET_INTERFACE request

git-svn-id: https://svn.openpcd.org:2342/trunk@238 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
This commit is contained in:
laforge 2006-09-30 22:23:25 +00:00
parent d61fac8fff
commit 2e6ea1d6ac
1 changed files with 3 additions and 1 deletions

View File

@ -778,7 +778,9 @@ static __dfufunc void dfu_udp_ep0_handler(void)
break;
case STD_SET_INTERFACE:
DEBUGE("SET INTERFACE ");
udp_ep0_send_stall();
/* FIXME: store the interface number somewhere, once
* we need to support DFU flashing DFU */
udp_ep0_send_zlp();
break;
default:
DEBUGE("DEFAULT(req=0x%02x, type=0x%02x) ",