Skip to content

Commit

Permalink
../..
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch committed Mar 5, 2021
1 parent 20e1dee commit cfe6379
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions source/Core/BSP/Pine64/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static const usb_dfu_desc_config_set dfu_runtime_config = {
.bLength = sizeof(usb_desc_config),
.bDescriptorType = USB_DESCTYPE_CONFIG,
},
.wTotalLength = sizeof(usb_dfu_desc_config_set) - 1, // FIXME
.wTotalLength = sizeof(usb_dfu_desc_config_set),
.bNumInterfaces = 0x01U,
.bConfigurationValue = 0x01U,
.iConfiguration = STR_IDX_CONFIG,
Expand Down Expand Up @@ -193,8 +193,3 @@ void setup_usb(void) {
void USBFS_IRQHandler (void) {
usbd_isr (&driver);
}

void TIMER2_IRQHandler(void) {
usb_timer_irq();
}

0 comments on commit cfe6379

Please sign in to comment.