working on nrf52
This commit is contained in:
@@ -41,13 +41,13 @@
|
||||
|
||||
#if TUSB_CFG_MCU == MCU_LPC175X_6X
|
||||
|
||||
void tusb_hal_init_enable(uint8_t port)
|
||||
void tusb_hal_int_enable(uint8_t port)
|
||||
{
|
||||
(void) port; // discard compiler's warning
|
||||
NVIC_EnableIRQ(USB_IRQn);
|
||||
}
|
||||
|
||||
void tusb_hal_init_disable(uint8_t port)
|
||||
void tusb_hal_int_disable(uint8_t port)
|
||||
{
|
||||
(void) port; // discard compiler's warning
|
||||
NVIC_DisableIRQ(USB_IRQn);
|
||||
@@ -111,4 +111,10 @@ void USB_IRQHandler(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
void check_failed(uint8_t *file, uint32_t line)
|
||||
{
|
||||
(void) file;
|
||||
(void) line;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user