add tud_irq_handler() to all NUC board
This commit is contained in:
@@ -29,6 +29,17 @@
|
||||
#include "clk.h"
|
||||
#include "sys.h"
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// Forward USB interrupt events to TinyUSB IRQ Handler
|
||||
//--------------------------------------------------------------------+
|
||||
void USBD_IRQHandler(void)
|
||||
{
|
||||
tud_irq_handler(0);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// MACRO TYPEDEF CONSTANT ENUM
|
||||
//--------------------------------------------------------------------+
|
||||
#define LED_PORT PB
|
||||
#define LED_PIN 0
|
||||
#define LED_PIN_IO PB0
|
||||
|
Reference in New Issue
Block a user