diff options
| author | hathach <[email protected]> | 2012-12-04 18:18:29 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2012-12-04 18:18:29 +0700 |
| commit | f31ade6151089a0d6d99b73c23a7a6e1a538c268 (patch) | |
| tree | 10dbf649bf16f6a6ce4fd9d9e66c1401ad1918a0 /tinyusb/hal | |
| parent | 82820a206666a6415148b0d26985ac5c7a9eb279 (diff) | |
add board abstract layer
rename arch to mcu
Diffstat (limited to 'tinyusb/hal')
| -rw-r--r-- | tinyusb/hal/hal_lpc134x.c | 2 | ||||
| -rw-r--r-- | tinyusb/hal/hal_lpc43xx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/hal/hal_lpc134x.c b/tinyusb/hal/hal_lpc134x.c index 10acd3388..88ecd93e1 100644 --- a/tinyusb/hal/hal_lpc134x.c +++ b/tinyusb/hal/hal_lpc134x.c @@ -37,7 +37,7 @@ #include "common/common.h" -#ifdef ARCH_LPC134X +#if MCU == MCU_LPC134X TUSB_Error_t hal_init() { diff --git a/tinyusb/hal/hal_lpc43xx.c b/tinyusb/hal/hal_lpc43xx.c index 2291e7532..2fcd885f5 100644 --- a/tinyusb/hal/hal_lpc43xx.c +++ b/tinyusb/hal/hal_lpc43xx.c @@ -37,7 +37,7 @@ #include "common/common.h" -#ifdef ARCH_LPC43XX +#if MCU == MCU_LPC43XX TUSB_Error_t hal_init() { |
