diff options
| author | Ha Thach <[email protected]> | 2021-05-27 19:44:10 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-27 19:44:10 +0700 |
| commit | 81d238bd463c694af6ef31015107c0727805c7c7 (patch) | |
| tree | 3fe4e811be63d83f8c47cc49ca6f048bd5904f4a /src/host | |
| parent | 4e2684f23aacfd9a08046c2a60da50bd1af09a27 (diff) | |
| parent | 7c66c5121b862443aacf7eadbef45153a3fa3060 (diff) | |
Merge pull request #854 from hathach/more-housekeeping
More housekeeping
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/hub.c | 4 | ||||
| -rw-r--r-- | src/host/hub.h | 1 | ||||
| -rw-r--r-- | src/host/usbh.h | 9 |
3 files changed, 2 insertions, 12 deletions
diff --git a/src/host/hub.c b/src/host/hub.c index 2191c4560..4db680f9e 100644 --- a/src/host/hub.c +++ b/src/host/hub.c @@ -28,9 +28,7 @@ #if (TUSB_OPT_HOST_ENABLED && CFG_TUH_HUB) -//--------------------------------------------------------------------+ -// INCLUDE -//--------------------------------------------------------------------+ +#include "usbh.h" #include "hub.h" //--------------------------------------------------------------------+ diff --git a/src/host/hub.h b/src/host/hub.h index 851bb8e66..2b2f39ee1 100644 --- a/src/host/hub.h +++ b/src/host/hub.h @@ -37,7 +37,6 @@ #define _TUSB_HUB_H_ #include "common/tusb_common.h" -#include "usbh.h" #ifdef __cplusplus extern "C" { diff --git a/src/host/usbh.h b/src/host/usbh.h index 590c8a359..a9790b484 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -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" //--------------------------------------------------------------------+ @@ -68,10 +65,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 //--------------------------------------------------------------------+ |
