USB: Add support for the 3rd DFU interface (RAM)
This commit is contained in:
parent
48029c2bf3
commit
7d31d475b6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue