rename port to rhport for clarification

This commit is contained in:
hathach
2018-03-23 12:17:47 +07:00
parent 98d6ec1ef5
commit 6d50d05d95
31 changed files with 380 additions and 380 deletions

View File

@@ -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);
}