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