Skip to content

Commit

Permalink
STM32: fixed STM32_OTG_STEPPING for STM32F405
Browse files Browse the repository at this point in the history
bizarrely, this caused USB disconnects when writing to PA9 (USART1_TX)
on a STM32F405 which had USB on PA11/PA12
  • Loading branch information
tridge committed Feb 12, 2018
1 parent c78b75a commit 37fec8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os/hal/ports/STM32/STM32F4xx/stm32_registry.h
Expand Up @@ -2370,7 +2370,7 @@
#define STM32_HAS_LPUART1 FALSE

/* USB attributes.*/
#define STM32_OTG_STEPPING 1
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
#define STM32_OTG1_ENDPOINTS 3
#define STM32_HAS_OTG2 TRUE
Expand Down

0 comments on commit 37fec8c

Please sign in to comment.