clear 19.1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user