Skip to content

Commit 2189eca

Browse files
committed
Use open drain for USB pull-up control in Olimex STM32-H103
1 parent 8787895 commit 2189eca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/stm32f103/olimexstm32h103/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
#define USB_PULLUP_ACTIVE_HIGH 0
7979
#endif
8080
#ifndef USB_PULLUP_OPEN_DRAIN
81-
#define USB_PULLUP_OPEN_DRAIN 0
81+
#define USB_PULLUP_OPEN_DRAIN 1
8282
#endif
8383

8484
#ifndef USES_GPIOA

0 commit comments

Comments
 (0)