refractor include chain with following policies
- header file only include what it needs for its declarations.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#define _TUSB_HAL_LPC43XX_H_
|
||||
|
||||
#include "LPC43xx.h"
|
||||
#include "lpc43xx_cgu.h"
|
||||
//#include "lpc43xx_cgu.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user