Support Pure2 and Race2

This commit is contained in:
3djc
2020-09-16 13:48:42 +02:00
parent b164d7d438
commit f328b7f9c0
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -20,8 +20,8 @@
#include "opentx.h"
const char * const ghstRfProfileValue[GHST_RF_PROFILE_COUNT] = { "Auto", "Norm", "Race", "Pure", "Long" };
const char * const ghstVtxBandName[GHST_VTX_BAND_COUNT] = { "- - -" , "IRC", "Race", "BandE", "BandB", "BandA" };
const char *ghstRfProfileValue[GHST_RF_PROFILE_COUNT] = { "Auto", "Norm", "Race", "Pure", "Long", "Unused", "Race2", "Pure2" };
const char *ghstVtxBandName[GHST_VTX_BAND_COUNT] = { "- - -" , "IRC", "Race", "BandE", "BandB", "BandA" };
struct GhostSensor
{
+4 -1
View File
@@ -75,7 +75,10 @@ enum GhstRFProfile
GHST_RF_PROFILE_Race = 2,
GHST_RF_PROFILE_PureRace = 3,
GHST_RF_PROFILE_LongRange = 4,
GHST_RF_PROFILE_MAX = GHST_RF_PROFILE_LongRange,
GHST_RF_PROFILE_Reserved = 5,
GHST_RF_PROFILE_Race2 = 6,
GHST_RF_PROFILE_PureRace2 = 7,
GHST_RF_PROFILE_MAX = GHST_RF_PROFILE_PureRace2,
GHST_RF_PROFILE_COUNT
};