diff --git a/radio/src/CMakeLists.txt b/radio/src/CMakeLists.txt index 823d6b595..e8ca14819 100644 --- a/radio/src/CMakeLists.txt +++ b/radio/src/CMakeLists.txt @@ -84,7 +84,7 @@ if(PCB STREQUAL HORUS) pwr_driver.c sdram_driver.c led_driver.cpp - mp3_driver.cpp + # mp3_driver.cpp ) set(STM32LIB_SRC STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c diff --git a/radio/src/targets/horus/audio_driver.cpp b/radio/src/targets/horus/audio_driver.cpp index 4a3018ea3..50deff5ea 100644 --- a/radio/src/targets/horus/audio_driver.cpp +++ b/radio/src/targets/horus/audio_driver.cpp @@ -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 \ No newline at end of file diff --git a/radio/src/targets/horus/pwr_driver.c b/radio/src/targets/horus/pwr_driver.c index 20e50ddb9..f280f307a 100644 --- a/radio/src/targets/horus/pwr_driver.c +++ b/radio/src/targets/horus/pwr_driver.c @@ -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;