summaryrefslogtreecommitdiff
path: root/tinyusb/core
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-02-28 15:03:18 +0700
committerhathach <[email protected]>2013-02-28 15:06:31 +0700
commitd6548d00636577a7dff4d00470d5cc9c15322ab6 (patch)
treea9f4acc166390250cbddc3224d307b71050b98a3 /tinyusb/core
parentf56f6b67499b3ca2a0b2c18cfba7399a4eea6276 (diff)
strengthen include policy. Only limited headers are allowed to included from a header file. Missing needed to be included in *.c
Diffstat (limited to 'tinyusb/core')
-rw-r--r--tinyusb/core/std_descriptors.h5
-rw-r--r--tinyusb/core/std_request.h5
-rw-r--r--tinyusb/core/tusb_types.h5
3 files changed, 0 insertions, 15 deletions
diff --git a/tinyusb/core/std_descriptors.h b/tinyusb/core/std_descriptors.h
index d678f1770..afbffbbf8 100644
--- a/tinyusb/core/std_descriptors.h
+++ b/tinyusb/core/std_descriptors.h
@@ -52,11 +52,6 @@
extern "C" {
#endif
-#include "tusb_option.h"
-#include "common/primitive_types.h"
-#include "common/compiler/compiler.h"
-#include "common/binary.h"
-
//--------------------------------------------------------------------+
// STANDARD DESCRIPTORS
//--------------------------------------------------------------------+
diff --git a/tinyusb/core/std_request.h b/tinyusb/core/std_request.h
index fb004c607..189bc9c2c 100644
--- a/tinyusb/core/std_request.h
+++ b/tinyusb/core/std_request.h
@@ -55,11 +55,6 @@
extern "C" {
#endif
-#include "tusb_option.h"
-#include "common/primitive_types.h"
-#include "common/compiler/compiler.h"
-#include "common/binary.h"
-
typedef ATTR_PREPACKED struct ATTR_PACKED {
ATTR_PREPACKED struct ATTR_PACKED {
uint8_t recipient : 5; /**< Recipient type. */
diff --git a/tinyusb/core/tusb_types.h b/tinyusb/core/tusb_types.h
index a4a093943..a6864cbf4 100644
--- a/tinyusb/core/tusb_types.h
+++ b/tinyusb/core/tusb_types.h
@@ -53,11 +53,6 @@
extern "C" {
#endif
-#include "tusb_option.h"
-#include "common/primitive_types.h"
-#include "common/compiler/compiler.h"
-#include "common/binary.h"
-
/// defined base on EHCI specs value for Endpoint Speed
typedef enum {
TUSB_SPEED_FULL = 0,