diff options
| author | hathach <[email protected]> | 2013-02-28 15:58:18 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-02-28 15:58:18 +0700 |
| commit | 82bd4719ce1ab3d67c6d5f32973312250b8a443c (patch) | |
| tree | c644a8c6471377b998142cd948c99f5fede612fb /tinyusb | |
| parent | d6548d00636577a7dff4d00470d5cc9c15322ab6 (diff) | |
continue to strengthen include policy
Diffstat (limited to 'tinyusb')
| -rw-r--r-- | tinyusb/host/usbh.c | 2 | ||||
| -rw-r--r-- | tinyusb/host/usbh.h | 2 | ||||
| -rw-r--r-- | tinyusb/host/usbh_hcd.h | 3 | ||||
| -rw-r--r-- | tinyusb/tusb.h | 1 |
4 files changed, 2 insertions, 6 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index 071715300..960a5da2d 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -35,7 +35,7 @@ * This file is part of the tiny usb stack. */ -#include "tusb_option.h" +#include "common/common.h" #ifdef TUSB_CFG_HOST diff --git a/tinyusb/host/usbh.h b/tinyusb/host/usbh.h index eaa05d07c..1f7e492c2 100644 --- a/tinyusb/host/usbh.h +++ b/tinyusb/host/usbh.h @@ -58,8 +58,6 @@ //--------------------------------------------------------------------+ // INCLUDE //--------------------------------------------------------------------+ -#include "common/common.h" -#include "osal/osal.h" #include "hcd.h" //--------------------------------------------------------------------+ diff --git a/tinyusb/host/usbh_hcd.h b/tinyusb/host/usbh_hcd.h index 0fc831cb9..28bb7e1fe 100644 --- a/tinyusb/host/usbh_hcd.h +++ b/tinyusb/host/usbh_hcd.h @@ -59,9 +59,6 @@ // INCLUDE //--------------------------------------------------------------------+ #include "common/common.h" -#include "osal/osal.h" -#include "hcd.h" -#include "usbh.h" //--------------------------------------------------------------------+ // USBH diff --git a/tinyusb/tusb.h b/tinyusb/tusb.h index 45c125ed8..1129fec6a 100644 --- a/tinyusb/tusb.h +++ b/tinyusb/tusb.h @@ -50,6 +50,7 @@ #include "common/common.h" #include "hal/hal.h" +#include "osal/osal.h" #ifdef TUSB_CFG_HOST #include "host/usbh.h" |
