From 7d31d475b63e058dad4e1d0b9b5b21fdd1193af9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 15 Aug 2011 21:40:09 +0200 Subject: USB: Add support for the 3rd DFU interface (RAM) --- firmware/src/os/pcd_enumerate.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware') 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; -- cgit v1.2.3