Trims displayed on main view - related to #1419

This commit is contained in:
bsongis
2014-12-02 07:26:12 +01:00
parent 7302d1b9af
commit 22c2846992
7 changed files with 64 additions and 13 deletions
+9 -1
View File
@@ -2034,6 +2034,13 @@ enum TelemetryType
PROTOCOL_FRSKY_D_SECONDARY
};
enum DisplayTrims
{
DISPLAY_TRIMS_NEVER,
DISPLAY_TRIMS_CHANGE,
DISPLAY_TRIMS_ALWAYS
};
PACK(typedef struct {
ModelHeader header;
TimerData timers[MAX_TIMERS];
@@ -2042,7 +2049,8 @@ PACK(typedef struct {
uint8_t thrTrim:1; // Enable Throttle Trim
AVR_FIELD(int8_t ppmNCH:4)
ARM_FIELD(uint8_t noGlobalFunctions:1)
ARM_FIELD(int8_t spare2:3)
ARM_FIELD(uint8_t displayTrims:2)
ARM_FIELD(uint8_t spare2:1)
int8_t trimInc:3; // Trim Increments
uint8_t disableThrottleWarning:1;
ARM_FIELD(uint8_t displayChecklist:1)