diff options
| author | Damien George <damien@micropython.org> | 2021-12-14 00:00:35 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-12-14 10:48:01 +1100 |
| commit | 88ac5a3116d97f4b18f10b9a5855f008cffff6db (patch) | |
| tree | 4db369b880fee8c90a2754a986e2b0b84eec828b /ports/stm32/stm32_it.c | |
| parent | a0f5b3148a5c276aa1abf7b77b0964eec80cda16 (diff) | |
stm32: Update L4 code to build with latest stm32lib and L4 HAL 1.17.0.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/stm32/stm32_it.c')
| -rw-r--r-- | ports/stm32/stm32_it.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/stm32/stm32_it.c b/ports/stm32/stm32_it.c index ed97c4fe0..fe9b60622 100644 --- a/ports/stm32/stm32_it.c +++ b/ports/stm32/stm32_it.c @@ -395,7 +395,9 @@ void OTG_FS_WKUP_IRQHandler(void) { OTG_CMD_WKUP_Handler(&pcd_fs_handle); - #if !defined(STM32H7) + #if defined(STM32L4) + EXTI->PR1 = USB_OTG_FS_WAKEUP_EXTI_LINE; + #elif !defined(STM32H7) /* Clear EXTI pending Bit*/ __HAL_USB_FS_EXTI_CLEAR_FLAG(); #endif |
