[X12S] AUDIO is back

This commit is contained in:
Bertrand Songis
2017-02-11 23:35:47 +01:00
parent 3542c8b807
commit bd954478c6
4 changed files with 43 additions and 10 deletions
-7
View File
@@ -35,13 +35,6 @@ void pwrInit()
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP;
GPIO_Init(PWR_GPIO, &GPIO_InitStructure);
#if defined(PCBX12S)
// TODO should not be here!
// TODO and X10 code missing
GPIO_InitStructure.GPIO_Pin = AUDIO_SHUTDOWN_GPIO_PIN;
GPIO_Init(AUDIO_SHUTDOWN_GPIO, &GPIO_InitStructure);
#endif
// Init Module PWR
GPIO_ResetBits(INTMODULE_PWR_GPIO, INTMODULE_PWR_GPIO_PIN);
GPIO_InitStructure.GPIO_Pin = INTMODULE_PWR_GPIO_PIN;