diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/stm/stm32f4/dcd_stm32f4.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/portable/stm/stm32f4/dcd_stm32f4.c b/src/portable/stm/stm32f4/dcd_stm32f4.c index 3ec3c9e06..8aa95ac1d 100644 --- a/src/portable/stm/stm32f4/dcd_stm32f4.c +++ b/src/portable/stm/stm32f4/dcd_stm32f4.c @@ -71,17 +71,21 @@ bool dcd_init (uint8_t rhport) void dcd_int_enable (uint8_t rhport) { - + (void) rhport; + NVIC_EnableIRQ(OTG_FS_IRQn); } + void dcd_int_disable (uint8_t rhport) { - + (void) rhport; + NVIC_DisableIRQ(OTG_FS_IRQn); } void dcd_connect (uint8_t rhport) { } + void dcd_disconnect (uint8_t rhport) { |
