From 6f17b4e01973185beb2876f827a76e4200ee0ef3 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 21 Dec 2018 12:46:20 +0700 Subject: change to dcd_get_frame_number --- src/device/dcd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/device') diff --git a/src/device/dcd.h b/src/device/dcd.h index 408922740..abd85a70b 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -100,8 +100,8 @@ void dcd_int_disable(uint8_t rhport); void dcd_set_address(uint8_t rhport, uint8_t dev_addr); void dcd_set_config (uint8_t rhport, uint8_t config_num); -// Get current micro-frame number -uint32_t dcd_get_microframe(uint8_t rhport); +// Get current frame number +uint32_t dcd_get_frame_number(uint8_t rhport); /*------------------------------------------------------------------*/ /* Event Function -- cgit v1.3.1