From a5b29c5d333fc5fe3bcd01de145e130765ed1d48 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 4 Feb 2013 13:13:07 +0700 Subject: refractor include chain with following policies - header file only include what it needs for its declarations. --- tinyusb/hal/hal.h | 2 +- tinyusb/hal/hal_lpc43xx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tinyusb/hal') 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" { -- cgit v1.3.1