Issue #594 (Set Timer Function) - Still missing UI in Companion

This commit is contained in:
Bertrand Songis
2014-02-08 13:44:42 +01:00
parent 08a37b77e7
commit a9ed6485fd
7 changed files with 31 additions and 6 deletions
+2
View File
@@ -615,6 +615,8 @@ QString FuncSwData::funcToString()
return QObject::tr("Play Haptic");
else if (func == FuncReset)
return QObject::tr("Reset");
else if (func == FuncSetTimer)
return QObject::tr("Set Timer");
else if (func == FuncVario)
return QObject::tr("Vario");
else if (func == FuncPlayPrompt)
+1
View File
@@ -642,6 +642,7 @@ enum AssignFunc {
FuncPlaySound,
FuncPlayHaptic,
FuncReset,
FuncSetTimer,
FuncVario,
FuncPlayPrompt,
FuncPlayBoth,
@@ -1307,6 +1307,8 @@ class CustomFunctionsConversionTable: public ConversionTable {
addConversion(FuncInstantTrim, val++);
if (version >= 216) {
addConversion(FuncReset, val++);
if (IS_ARM(board))
addConversion(FuncSetTimer, val++);
for (int i=0; i<MAX_GVARS(board, version); i++)
addConversion(FuncAdjustGV1+i, val);
val++;