From 2e6ea1d6ac6a2a7d66b068393b4701b53cca0936 Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 30 Sep 2006 22:23:25 +0000 Subject: acknowledge SET_INTERFACE request git-svn-id: https://svn.openpcd.org:2342/trunk@238 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/src/dfu/dfu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/src/dfu') diff --git a/firmware/src/dfu/dfu.c b/firmware/src/dfu/dfu.c index 2295853..97e4a72 100644 --- a/firmware/src/dfu/dfu.c +++ b/firmware/src/dfu/dfu.c @@ -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) ", -- cgit v1.2.3