We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a02c1e commit 1067b35Copy full SHA for 1067b35
lib/pbio/drv/usb/usb_nxt.c
@@ -446,11 +446,6 @@ static void pbdrv_usb_handle_std_request(pbdrv_usb_nxt_setup_packet_t *packet) {
446
case USB_DESC_TYPE_CONFIG: /* Configuration descriptor */
447
pbdrv_usb_nxt_write_data(0, &pbdrv_usb_nxt_full_config,
448
MIN(pbdrv_usb_nxt_full_config.conf_desc.wTotalLength, packet->length));
449
-
450
- /* TODO: Why? This is not specified in the USB specs. */
451
- if (pbdrv_usb_nxt_full_config.conf_desc.wTotalLength < packet->length) {
452
- pbdrv_usb_nxt_send_null();
453
- }
454
break;
455
456
case USB_DESC_TYPE_STR: /* String or language info. */
0 commit comments