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