diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-30 22:23:25 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-30 22:23:25 +0000 |
commit | 2e6ea1d6ac6a2a7d66b068393b4701b53cca0936 (patch) | |
tree | df72d7fc383c2c94be0fb1e7c688a71e7b8d0197 /firmware/src/dfu/dfu.c | |
parent | d61fac8fff077f1b86fccbda49b34187b7c5fe3d (diff) |
acknowledge SET_INTERFACE request
git-svn-id: https://svn.openpcd.org:2342/trunk@238 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/dfu/dfu.c')
-rw-r--r-- | firmware/src/dfu/dfu.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) ", |