clear 19.1

This commit is contained in:
hathach
2013-01-22 18:09:58 +07:00
parent 38ce3f7534
commit 3ffda2033a
6 changed files with 30 additions and 31 deletions

View File

@@ -62,6 +62,17 @@
#define MCU_LPC11UXX 2
#define MCU_LPC43XX 3
#if MCU == 0
#error MCU is not defined or supported
#elif MCU == MCU_LPC11UXX
#include "hal_lpc11uxx.h"
#elif MCU == MCU_LPC13UXX
#include "hal_lpc13uxx.h"
#elif MCU == MCU_LPC43XX
#include "hal_lpc43xx.h"
#endif
/** \brief USB hardware init
*
* \param[in] para1
@@ -81,16 +92,6 @@ static inline void hal_interrupt_enable() ATTR_ALWAYS_INLINE;
*/
static inline void hal_interrupt_disable() ATTR_ALWAYS_INLINE;
#if MCU == 0
#error MCU is not defined or supported
#elif MCU == MCU_LPC11UXX
#include "hal_lpc11uxx.h"
#elif MCU == MCU_LPC13UXX
#include "hal_lpc13uxx.h"
#elif MCU == MCU_LPC43XX
#include "hal_lpc43xx.h"
#endif
#ifdef __cplusplus
}
#endif