This commit is contained in:
Bertrand Songis
2020-01-15 21:06:44 +01:00
parent d152be5e18
commit 4d5b5e1c0b
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -1375,6 +1375,7 @@
#define PCBREV_RCC_AHB1Periph RCC_AHB1Periph_GPIOA
#define PCBREV_GPIO GPIOA
#define PCBREV_GPIO_PIN GPIO_Pin_14 // PA.14
#define PCBREV_GPIO_PULL_DOWN
#define PCBREV_VALUE() GPIO_ReadInputDataBit(PCBREV_GPIO, PCBREV_GPIO_PIN)
#else
#define PCBREV_RCC_AHB1Periph 0