summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/driver/usbh_device_driver.h4
-rw-r--r--include/usbh_driver_gp_xbox.h1
-rw-r--r--include/usbh_driver_hid.h1
-rw-r--r--include/usbh_driver_hub.h1
4 files changed, 0 insertions, 7 deletions
diff --git a/include/driver/usbh_device_driver.h b/include/driver/usbh_device_driver.h
index 20ece5d..e846fd2 100644
--- a/include/driver/usbh_device_driver.h
+++ b/include/driver/usbh_device_driver.h
@@ -110,10 +110,6 @@ struct _usbh_control {
};
typedef struct _usbh_control usbh_control_t;
-
-//forward declare usbh_dev_driver_t
-typedef struct _usbh_dev_driver usbh_dev_driver_t;
-
/**
* @brief The _usbh_device struct
*
diff --git a/include/usbh_driver_gp_xbox.h b/include/usbh_driver_gp_xbox.h
index 5d2dc2a..d648b90 100644
--- a/include/usbh_driver_gp_xbox.h
+++ b/include/usbh_driver_gp_xbox.h
@@ -71,7 +71,6 @@ typedef struct _gp_xbox_config gp_xbox_config_t;
*/
void gp_xbox_driver_init(const gp_xbox_config_t *config);
-typedef struct _usbh_dev_driver usbh_dev_driver_t;
extern const usbh_dev_driver_t usbh_gp_xbox_driver;
END_DECLS
diff --git a/include/usbh_driver_hid.h b/include/usbh_driver_hid.h
index 89f950a..8155d82 100644
--- a/include/usbh_driver_hid.h
+++ b/include/usbh_driver_hid.h
@@ -78,7 +78,6 @@ enum HID_TYPE hid_get_type(uint8_t device_id);
*/
bool hid_is_connected(uint8_t device_id);
-typedef struct _usbh_dev_driver usbh_dev_driver_t;
extern const usbh_dev_driver_t usbh_hid_driver;
END_DECLS
diff --git a/include/usbh_driver_hub.h b/include/usbh_driver_hub.h
index dedcc58..1066074 100644
--- a/include/usbh_driver_hub.h
+++ b/include/usbh_driver_hub.h
@@ -32,7 +32,6 @@ BEGIN_DECLS
*/
void hub_driver_init(void);
-typedef struct _usbh_dev_driver usbh_dev_driver_t;
extern const usbh_dev_driver_t usbh_hub_driver;
END_DECLS