New switch warnings and displayText in companion. Import/export conversions not done yet

This commit is contained in:
Andre Bernet
2014-01-20 19:26:30 +01:00
parent 0b2b9ea1c3
commit b38d278c75
6 changed files with 118 additions and 68 deletions
+7 -1
View File
@@ -856,8 +856,12 @@ class ModelData {
unsigned int thrTraceSrc;
int8_t traineron; // 0 disable trainer, 1 allow trainer
int8_t t2throttle; // Start timer2 using throttle
unsigned int modelId;
unsigned int modelId;
unsigned int switchWarningStates;
unsigned int nSwToWarn;
unsigned int nPotsToWarn;
int potPosition[C9X_NUM_POTS];
bool displayText;
// TODO structure
char gvars_names[C9X_MAX_GVARS][6+1];
bool gvars_popups[C9X_MAX_GVARS];
@@ -1008,6 +1012,8 @@ enum Capability {
CSFunc,
LCDWidth,
GetThrSwitch,
HasDisplayText,
PotWarnings,
VirtualInputs,
LuaInputs,
LimitsPer1000,