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