chore: resolve compiler warnings and cleanup code (#6952)

This commit is contained in:
philmoz
2026-01-06 10:24:15 +10:00
committed by GitHub
parent 90372853d5
commit 0d0e73326d
10 changed files with 60 additions and 78 deletions
@@ -22,6 +22,7 @@
#include "edgetx.h"
#include "battery_driver.h"
#include "boards/generic_stm32/rgb_leds.h"
#undef UNUSED
#include "bsp_io.h"
#include "stm32_ws2812.h"
+1 -1
View File
@@ -111,7 +111,7 @@ extern "C" void SDRAM_InitSequence(void)
{
FMC_SDRAM_CommandTypeDef FMC_SDRAMCommandStructure;
uint32_t tmpr = 0;
uint32_t timeout = SDRAM_TIMEOUT;
// uint32_t timeout = SDRAM_TIMEOUT;
/* Step 3 --------------------------------------------------------------------*/
/* Configure a clock configuration enable command */
+1 -1
View File
@@ -110,7 +110,7 @@ extern "C" void SDRAM_InitSequence(void)
{
FMC_SDRAM_CommandTypeDef FMC_SDRAMCommandStructure;
uint32_t tmpr = 0;
uint32_t timeout = SDRAM_TIMEOUT;
// uint32_t timeout = SDRAM_TIMEOUT;
/* Step 3 --------------------------------------------------------------------*/
/* Configure a clock configuration enable command */
+4 -4
View File
@@ -109,10 +109,10 @@ static tmr10ms_t downTime = 0;
static tmr10ms_t tapTime = 0;
static short tapCount = 0;
static void _touch_exti_isr(void)
{
touchEventOccured = true;
}
// static void _touch_exti_isr(void)
// {
// touchEventOccured = true;
// }
static void _touch_exti_stop(void) {}
static void _touch_exti_config(void) {}