summaryrefslogtreecommitdiff
path: root/tinyusb/hal/hal_lpc13uxx.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-11-11 12:48:21 +0700
committerhathach <[email protected]>2013-11-11 12:48:21 +0700
commitf00a4b448d85c4cf36edb8dc7245d7c3fa1c07ec (patch)
tree8a0187580fbc26779f32515d54cb5e2a4190f4b8 /tinyusb/hal/hal_lpc13uxx.h
parent9cb99d371693a4294d8d9fb190ca23c1043da755 (diff)
adding support for lpc13uxx
Diffstat (limited to 'tinyusb/hal/hal_lpc13uxx.h')
-rw-r--r--tinyusb/hal/hal_lpc13uxx.h8
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);
}