chore: resolve compiler warnings and cleanup code (#6952)
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user