diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-08-15 21:40:09 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-08-15 21:40:09 +0200 |
commit | 7d31d475b63e058dad4e1d0b9b5b21fdd1193af9 (patch) | |
tree | cd3819c47ab1a0a92a226689e3e60511f86e8831 /firmware/src | |
parent | 48029c2bf3e274fee10010c1cae38b4564f12764 (diff) |
USB: Add support for the 3rd DFU interface (RAM)
Diffstat (limited to 'firmware/src')
-rw-r--r-- | firmware/src/os/pcd_enumerate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/src/os/pcd_enumerate.c b/firmware/src/os/pcd_enumerate.c index a195267..c360d37 100644 --- a/firmware/src/os/pcd_enumerate.c +++ b/firmware/src/os/pcd_enumerate.c @@ -594,6 +594,12 @@ static void udp_ep0_handler(void) MIN(sizeof(cfg_descriptor.uif_dfu[1]), wLength)); break; + case 3: + udp_ep0_send_data((const char *) + &cfg_descriptor.uif_dfu[2], + MIN(sizeof(cfg_descriptor.uif_dfu[2]), + wLength)); + break; #endif default: goto out_stall; |