[Horus] Audio now OK. PI9 needed to be set as INPUT
This commit is contained in:
@@ -20,8 +20,6 @@
|
||||
|
||||
#include "../../opentx.h"
|
||||
|
||||
#if 0
|
||||
|
||||
uint32_t audioBufferCount = 0;
|
||||
|
||||
#if !defined(SIMU)
|
||||
@@ -144,5 +142,3 @@ extern "C" void DMA1_Stream5_IRQHandler()
|
||||
}
|
||||
}
|
||||
#endif // #if !defined(SIMU)
|
||||
|
||||
#endif
|
||||
@@ -35,6 +35,9 @@ void pwrInit()
|
||||
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN;
|
||||
GPIO_Init(PWR_GPIO, &GPIO_InitStructure);
|
||||
|
||||
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9;
|
||||
GPIO_Init(GPIOI, &GPIO_InitStructure);
|
||||
|
||||
// Init Module PWR
|
||||
GPIO_ResetBits(EXTMODULE_GPIO_PWR, EXTMODULE_GPIO_PIN_PWR);
|
||||
GPIO_InitStructure.GPIO_Pin = EXTMODULE_GPIO_PIN_PWR;
|
||||
|
||||
Reference in New Issue
Block a user