rename port to rhport for clarification
This commit is contained in:
@@ -41,15 +41,15 @@
|
||||
|
||||
#if TUSB_CFG_MCU == MCU_LPC11UXX
|
||||
|
||||
void tusb_hal_int_enable(uint8_t port)
|
||||
void tusb_hal_int_enable(uint8_t rhport)
|
||||
{
|
||||
(void) port; // discard compiler's warning
|
||||
(void) rhport; // discard compiler's warning
|
||||
NVIC_EnableIRQ(USB_IRQn);
|
||||
}
|
||||
|
||||
void tusb_hal_int_disable(uint8_t port)
|
||||
void tusb_hal_int_disable(uint8_t rhport)
|
||||
{
|
||||
(void) port; // discard compiler's warning
|
||||
(void) rhport; // discard compiler's warning
|
||||
NVIC_DisableIRQ(USB_IRQn);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user