summaryrefslogtreecommitdiff
path: root/tinyusb/hal/hal_lpc11uxx.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-23 10:56:41 +0700
committerhathach <[email protected]>2013-03-23 10:56:41 +0700
commit0c6d406ddf68ae144982132d21349880896c2f74 (patch)
tree621e952e123f9ae6714e167d03db2d8d5bd4801f /tinyusb/hal/hal_lpc11uxx.h
parentae9b9ead7a614251486897c8ba11b7c1e848ac8c (diff)
- house keeping
- add controller id for hal_interrupt_enable/disable
Diffstat (limited to 'tinyusb/hal/hal_lpc11uxx.h')
-rw-r--r--tinyusb/hal/hal_lpc11uxx.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tinyusb/hal/hal_lpc11uxx.h b/tinyusb/hal/hal_lpc11uxx.h
index 19fd79c23..b8acdec2a 100644
--- a/tinyusb/hal/hal_lpc11uxx.h
+++ b/tinyusb/hal/hal_lpc11uxx.h
@@ -64,13 +64,15 @@
#endif
-static inline void hal_interrupt_enable()
+static inline void hal_interrupt_enable(uint8_t controller_id)
{
+ (void) controller_id; // discard compiler's warning
NVIC_EnableIRQ(USB_IRQn);
}
-static inline void hal_interrupt_disable()
+static inline void hal_interrupt_disable(uint8_t controller_id)
{
+ (void) controller_id; // discard compiler's warning
NVIC_DisableIRQ(USB_IRQn);
}