[Taranis X9E] Switches warning problem with the 2 last switches (SQ and

SR)
This commit is contained in:
bsongis
2015-03-09 19:13:04 +01:00
parent 8d82ee2009
commit aaaee8e694
+2 -1
View File
@@ -409,10 +409,11 @@ PACK(typedef struct {
#define MODELDATA_EXTRA uint8_t externalModule:3; uint8_t trainerMode:3; uint8_t potsWarnMode:2; ModuleData moduleData[NUM_MODULES+1]; char curveNames[MAX_CURVES][6]; ScriptData scriptsData[MAX_SCRIPTS]; char inputNames[MAX_INPUTS][LEN_INPUT_NAME]; uint8_t potsWarnEnabled; int8_t potsWarnPosition[NUM_POTS];
#if defined(REV9E)
#define swarnstate_t uint64_t
#define swarnenable_t uint32_t
#else
#define swarnstate_t uint32_t
#endif
#define swarnenable_t uint16_t
#endif
#elif defined(PCBSKY9X)
enum ModuleIndex {
EXTERNAL_MODULE,