more include clean up

This commit is contained in:
hathach
2021-05-27 18:18:30 +07:00
parent f384d6f67e
commit 9ad6fadf6a
13 changed files with 6 additions and 48 deletions
+1 -3
View File
@@ -28,9 +28,7 @@
#if (TUSB_OPT_HOST_ENABLED && CFG_TUH_HUB)
//--------------------------------------------------------------------+
// INCLUDE
//--------------------------------------------------------------------+
#include "usbh.h"
#include "hub.h"
//--------------------------------------------------------------------+
-1
View File
@@ -37,7 +37,6 @@
#define _TUSB_HUB_H_
#include "common/tusb_common.h"
#include "usbh.h"
#ifdef __cplusplus
extern "C" {
+1 -8
View File
@@ -34,10 +34,7 @@
extern "C" {
#endif
//--------------------------------------------------------------------+
// INCLUDE
//--------------------------------------------------------------------+
#include "osal/osal.h" // TODO refractor move to common.h ?
#include "common/tusb_common.h"
#include "hcd.h"
//--------------------------------------------------------------------+
@@ -67,10 +64,6 @@ typedef struct {
typedef bool (*tuh_control_complete_cb_t)(uint8_t dev_addr, tusb_control_request_t const * request, xfer_result_t result);
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION
//--------------------------------------------------------------------+
//--------------------------------------------------------------------+
// APPLICATION API
//--------------------------------------------------------------------+