fiy simu and firmware compilation issues for different radios

This commit is contained in:
gagarinlg
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 4ec3304969
commit dec89b56c2
7 changed files with 20 additions and 4 deletions
@@ -22,6 +22,10 @@
#include "opentx_types.h"
#include "board.h"
#if !defined(BOOT)
#include "myeeprom.h"
#endif
void backlightInit()
{
// PIN init
+2 -2
View File
@@ -63,7 +63,7 @@ void watchdogInit(unsigned int duration)
IWDG->KR = 0xCCCC; // start
}
#if HAS_SPORT_UPDATE_CONNECTOR()
#if HAS_SPORT_UPDATE_CONNECTOR() && !defined(BOOT)
void sportUpdateInit()
{
GPIO_InitTypeDef GPIO_InitStructure;
@@ -257,7 +257,7 @@ void boardInit()
usbChargerInit();
#endif
#if HAS_SPORT_UPDATE_CONNECTOR()
#if HAS_SPORT_UPDATE_CONNECTOR() && !defined(BOOT)
sportUpdateInit();
#endif