We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d15fe5a commit 5a11086Copy full SHA for 5a11086
stmhal/extint.c
@@ -102,7 +102,10 @@ typedef struct {
102
STATIC uint32_t pyb_extint_mode[EXTI_NUM_VECTORS];
103
104
#if !defined(ETH)
105
-#define ETH_WKUP_IRQn 62 // The 405 doesn't have ETH, but we want a value to put in our table
+#define ETH_WKUP_IRQn 62 // Some MCUs don't have ETH, but we want a value to put in our table
106
+#endif
107
+#if !defined(OTG_HS_WKUP_IRQn)
108
+#define OTG_HS_WKUP_IRQn 76 // Some MCUs don't have HS, but we want a value to put in our table
109
#endif
110
111
STATIC const uint8_t nvic_irq_channel[EXTI_NUM_VECTORS] = {
0 commit comments