diff options
| author | hathach <[email protected]> | 2013-02-04 13:13:07 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-02-04 13:13:07 +0700 |
| commit | a5b29c5d333fc5fe3bcd01de145e130765ed1d48 (patch) | |
| tree | 02d62073dd521ce43e98ad46a5c177dd198e62c7 /tinyusb/common/common.h | |
| parent | 5ec56120e678672c9da1953ad1890ecfa7bdb773 (diff) | |
refractor include chain with following policies
- header file only include what it needs for its declarations.
Diffstat (limited to 'tinyusb/common/common.h')
| -rw-r--r-- | tinyusb/common/common.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tinyusb/common/common.h b/tinyusb/common/common.h index 09a82a217..a56de956e 100644 --- a/tinyusb/common/common.h +++ b/tinyusb/common/common.h @@ -56,18 +56,23 @@ extern "C" { #endif +//------------- Standard Header -------------// #include "primitive_types.h" #include <stddef.h> #include <string.h> #include <stdio.h> +//------------- TUSB Option Header -------------// +#include "tusb_option.h" + +//------------- General Header -------------// #include "compiler/compiler.h" #include "assertion.h" #include "binary.h" #include "errors.h" -#include "tusb_option.h" -#include "hal/hal.h" +//------------- TUSB Header -------------// +//#include "hal/hal.h" #include "core/tusb_types.h" #include "core/std_descriptors.h" #include "core/std_request.h" |
