poll(): refactor every poll argument t_us and tflp -> time_curr_us
added comment to usbh_hubbed.h Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
This commit is contained in:
parent
e9c2632a19
commit
e35c1e9fc6
6 changed files with 30 additions and 20 deletions
|
|
@ -91,7 +91,7 @@ struct _usbh_driver {
|
|||
void (*init)(void *drvdata);
|
||||
void (*write)(void *drvdata, const usbh_packet_t *packet);
|
||||
void (*read)(void *drvdata, usbh_packet_t *packet);
|
||||
enum USBH_POLL_STATUS (*poll)(void *drvdata, uint32_t t_us);
|
||||
enum USBH_POLL_STATUS (*poll)(void *drvdata, uint32_t time_curr_us);
|
||||
uint8_t (*root_speed)(void *drvdata);
|
||||
|
||||
// Pointer to Low-level driver data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue