External module not working on X10

This commit is contained in:
Bertrand Songis
2017-09-20 09:16:11 +02:00
parent 76f27ae452
commit 450ba42558
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -534,7 +534,7 @@
// External Module
#define EXTMODULE_PWR_GPIO GPIOB
#define EXTMODULE_PWR_GPIO_PIN GPIO_Pin_3 // PB.03
#if PCBREV >= 13
#if defined(PCBX10) || PCBREV >= 13
#define EXTMODULE_RCC_AHB1Periph (RCC_AHB1Periph_GPIOA | RCC_AHB1Periph_GPIOB | RCC_AHB1Periph_DMA2)
#define EXTMODULE_RCC_APB1Periph 0
#define EXTMODULE_RCC_APB2Periph RCC_APB2Periph_TIM1