diff options
author | Amir Hammad <amir.hammad@hotmail.com> | 2015-04-01 18:29:32 +0200 |
---|---|---|
committer | Amir Hammad <amir.hammad@hotmail.com> | 2015-04-01 18:29:32 +0200 |
commit | e35c1e9fc68dbbf870cbfd1213f0194869bcb14d (patch) | |
tree | 3507c158aad04b9da60a3c5e617fa7984341a5c8 /include/driver | |
parent | e9c2632a199e26e9dac54984bf5e2b25bf13738c (diff) | |
download | secure-hid-e35c1e9fc68dbbf870cbfd1213f0194869bcb14d.tar.gz secure-hid-e35c1e9fc68dbbf870cbfd1213f0194869bcb14d.tar.bz2 secure-hid-e35c1e9fc68dbbf870cbfd1213f0194869bcb14d.zip |
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>
Diffstat (limited to 'include/driver')
-rw-r--r-- | include/driver/usbh_device_driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/driver/usbh_device_driver.h b/include/driver/usbh_device_driver.h index f8837e0..137b39b 100644 --- a/include/driver/usbh_device_driver.h +++ b/include/driver/usbh_device_driver.h @@ -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 |