Add a new parameter "Use Global Functions" for model where they are not

needed
This commit is contained in:
bsongis
2014-11-04 07:25:23 +01:00
parent 13772429f9
commit aa28af6235
5 changed files with 23 additions and 7 deletions
+3 -2
View File
@@ -331,7 +331,7 @@ enum uartModes {
#define EXTRA_GENERAL_FIELDS
#endif
PACK(typedef struct t_ModuleData {
PACK(typedef struct {
int8_t rfProtocol;
uint8_t channelsStart;
int8_t channelsCount; // 0=8 channels
@@ -1830,7 +1830,8 @@ PACK(typedef struct {
ARM_FIELD(uint8_t telemetryProtocol:3)
uint8_t thrTrim:1; // Enable Throttle Trim
AVR_FIELD(int8_t ppmNCH:4)
ARM_FIELD(int8_t spare2:4)
ARM_FIELD(uint8_t noGlobalFunctions:1)
ARM_FIELD(int8_t spare2:3)
int8_t trimInc:3; // Trim Increments
uint8_t disableThrottleWarning:1;
ARM_FIELD(uint8_t displayChecklist:1)