strengthen include policy. Only limited headers are allowed to included from a header file. Missing needed to be included in *.c

This commit is contained in:
hathach
2013-02-28 15:03:18 +07:00
parent f56f6b6749
commit d6548d0063
9 changed files with 10 additions and 25 deletions

View File

@@ -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
//--------------------------------------------------------------------+

View File

@@ -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. */

View File

@@ -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,