change to dcd_get_frame_number

This commit is contained in:
hathach
2018-12-21 12:46:20 +07:00
parent 426064201a
commit 6f17b4e019
7 changed files with 14 additions and 14 deletions

View File

@@ -221,10 +221,10 @@ void dcd_set_config (uint8_t rhport, uint8_t config_num)
// Nothing to do
}
uint32_t dcd_get_microframe(uint8_t rhport)
uint32_t dcd_get_frame_number(uint8_t rhport)
{
(void) rhport;
return NRF_USBD->FRAMECNTR << 3;
return NRF_USBD->FRAMECNTR;
}
//--------------------------------------------------------------------+