remove dcd_get_frame_number()

This commit is contained in:
hathach
2019-03-27 01:01:48 +07:00
parent 852abba918
commit 4722376654
9 changed files with 0 additions and 52 deletions

View File

@@ -196,15 +196,6 @@ void dcd_set_config (uint8_t rhport, uint8_t config_num)
// Nothing to do
}
uint32_t dcd_get_frame_number(uint8_t rhport)
{
(void) rhport;
USB_OTG_DeviceTypeDef * dev = DEVICE_BASE;
return (dev->DSTS & USB_OTG_DSTS_FNSOF_Msk) >> USB_OTG_DSTS_FNSOF_Pos;
}
/*------------------------------------------------------------------*/
/* DCD Endpoint port
*------------------------------------------------------------------*/