diff options
| author | hathach <[email protected]> | 2013-11-11 12:48:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-11 12:48:21 +0700 |
| commit | f00a4b448d85c4cf36edb8dc7245d7c3fa1c07ec (patch) | |
| tree | 8a0187580fbc26779f32515d54cb5e2a4190f4b8 /tinyusb/hal/hal_lpc13uxx.h | |
| parent | 9cb99d371693a4294d8d9fb190ca23c1043da755 (diff) | |
adding support for lpc13uxx
Diffstat (limited to 'tinyusb/hal/hal_lpc13uxx.h')
| -rw-r--r-- | tinyusb/hal/hal_lpc13uxx.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tinyusb/hal/hal_lpc13uxx.h b/tinyusb/hal/hal_lpc13uxx.h index 259f9de11..fefa58d20 100644 --- a/tinyusb/hal/hal_lpc13uxx.h +++ b/tinyusb/hal/hal_lpc13uxx.h @@ -58,15 +58,15 @@ extern "C" { #endif -static inline void hal_interrupt_enable(uint8_t controller_id) +static inline void hal_interrupt_enable(uint8_t coreid) { - (void) controller_id; // discard compiler's warning + (void) coreid; // discard compiler's warning NVIC_EnableIRQ(USB_IRQ_IRQn); } -static inline void hal_interrupt_disable(uint8_t controller_id) +static inline void hal_interrupt_disable(uint8_t coreid) { - (void) controller_id; // discard compiler's warning + (void) coreid; // discard compiler's warning NVIC_DisableIRQ(USB_IRQ_IRQn); } |
