summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2016-08-23 07:11:34 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2016-08-23 07:15:56 +0200
commit96dd22d047f33ea2015d6cdb0ca84b04e6aa7ec2 (patch)
tree3a915ae80bc5007c12e8d31b6aec49b6487abb19 /include
parent049b67b492782e8f7ab4ade10d181d66ccf1f391 (diff)
downloadsecure-hid-96dd22d047f33ea2015d6cdb0ca84b04e6aa7ec2.tar.gz
secure-hid-96dd22d047f33ea2015d6cdb0ca84b04e6aa7ec2.tar.bz2
secure-hid-96dd22d047f33ea2015d6cdb0ca84b04e6aa7ec2.zip
core: make endpoint_type of enum USBH_ENDPOINT_TYPE
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/driver/usbh_device_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/driver/usbh_device_driver.h b/include/driver/usbh_device_driver.h
index 9307f77..bace1ef 100644
--- a/include/driver/usbh_device_driver.h
+++ b/include/driver/usbh_device_driver.h
@@ -124,7 +124,7 @@ struct _usbh_packet {
* @brief Endpoint type
* @see USBH_ENDPOINT_TYPE
*/
- uint8_t endpoint_type;
+ enum USBH_ENDPOINT_TYPE endpoint_type;
enum USBH_CONTROL_TYPE control_type;