move irq for stm32 fsdev

This commit is contained in:
hathach
2020-04-08 16:26:14 +07:00
parent fc9170b2c1
commit 9014ca5528
7 changed files with 93 additions and 64 deletions

View File

@@ -43,10 +43,9 @@ void USBD_IRQHandler(void)
tud_irq_handler(0);
}
/*------------------------------------------------------------------*/
/* MACRO TYPEDEF CONSTANT ENUM
*------------------------------------------------------------------*/
//--------------------------------------------------------------------+
// MACRO TYPEDEF CONSTANT ENUM
//--------------------------------------------------------------------+
#define _PINNUM(port, pin) ((port)*32 + (pin))
#define LED_PIN _PINNUM(1, 1)