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/hal | |
| parent | 5ec56120e678672c9da1953ad1890ecfa7bdb773 (diff) | |
refractor include chain with following policies
- header file only include what it needs for its declarations.
Diffstat (limited to 'tinyusb/hal')
| -rw-r--r-- | tinyusb/hal/hal.h | 2 | ||||
| -rw-r--r-- | tinyusb/hal/hal_lpc43xx.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/hal/hal.h b/tinyusb/hal/hal.h index 80e1e0712..7bc038877 100644 --- a/tinyusb/hal/hal.h +++ b/tinyusb/hal/hal.h @@ -55,8 +55,8 @@ extern "C" { #endif +#include "tusb_option.h" #include "common/compiler/compiler.h" -#include "common/errors.h" #define MCU_LPC13UXX 1 #define MCU_LPC11UXX 2 diff --git a/tinyusb/hal/hal_lpc43xx.h b/tinyusb/hal/hal_lpc43xx.h index 0935b4bbf..f1aa82ef7 100644 --- a/tinyusb/hal/hal_lpc43xx.h +++ b/tinyusb/hal/hal_lpc43xx.h @@ -52,7 +52,7 @@ #define _TUSB_HAL_LPC43XX_H_ #include "LPC43xx.h" -#include "lpc43xx_cgu.h" +//#include "lpc43xx_cgu.h" #ifdef __cplusplus extern "C" { |
