Massive cleaning (#5538)

This commit is contained in:
3djc
2017-12-18 20:54:22 +01:00
committed by Bertrand Songis
parent 6839939140
commit 394bc1689f
38 changed files with 75 additions and 547 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ if(ARCH STREQUAL ARM)
)
endif()
if(PCB STREQUAL FLAMENCO OR PCB STREQUAL X12S OR PCB STREQUAL X10)
if(PCB STREQUAL X12S OR PCB STREQUAL X10)
if(HELI)
set(HELI_SRC gui/common/colorlcd/model_heli.cpp)
endif()
+1 -1
View File
@@ -20,7 +20,7 @@
#include "opentx.h"
#if defined(PCBTARANIS) || defined(PCBHORUS) || defined(PCBFLAMENCO)
#if defined(PCBTARANIS) || defined(PCBHORUS)
uint8_t switchToMix(uint8_t source)
{
div_t qr = div(source-1, 3);
+1 -1
View File
@@ -489,7 +489,7 @@ bool isSourceAvailableInResetSpecialFunction(int index)
bool isModuleAvailable(int module)
{
#if defined(CROSSFIRE) && !defined(PCBFLAMENCO)
#if defined(CROSSFIRE)
if (module == MODULE_TYPE_CROSSFIRE && g_model.moduleData[INTERNAL_MODULE].type != MODULE_TYPE_NONE) {
return false;
}