summaryrefslogtreecommitdiff
path: root/firmware/src
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src')
-rw-r--r--firmware/src/os/pcd_enumerate.c6
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;
personal git repositories of Harald Welte. Your mileage may vary