fix: conditional code problem due to new gpio driver (#5241)

This commit is contained in:
richardclli
2024-07-04 13:48:40 +10:00
committed by GitHub
parent 39a7fcc82a
commit 45acf21a70
8 changed files with 11 additions and 856 deletions
+1 -1
View File
@@ -235,7 +235,7 @@
// USB
#define USB_RCC_AHB1Periph_GPIO RCC_AHB1Periph_GPIOA
#define USB_GPIO GPIOA
#define USB_GPIO_VBUS GPIO_PIN(GPIOA,9) // PA.09
#define USB_GPIO_VBUS GPIO_PIN(GPIOA, 9) // PA.09
#define USB_GPIO_DM GPIO_PIN(GPIOA, 11) // PA.11
#define USB_GPIO_DP GPIO_PIN(GPIOA, 12) // PA.12
#define USB_GPIO_AF GPIO_AF10