Automatic Model conversion problem on ARM boards (v216 to v217)

This commit is contained in:
bsongis
2014-09-15 10:57:54 +02:00
parent 4b9287ef8a
commit 0ac40ab41f
2 changed files with 44 additions and 3 deletions
+2 -1
View File
@@ -1781,7 +1781,7 @@ enum TelemetryProtocol
PROTOCOL_FRSKY_D_SECONDARY
};
PACK(typedef struct t_ModelData {
PACK(typedef struct {
ModelHeader header;
TimerData timers[MAX_TIMERS];
AVR_FIELD(uint8_t protocol:3)
@@ -1822,6 +1822,7 @@ PACK(typedef struct t_ModelData {
MODELDATA_EXTRA
ARM_FIELD(uint8_t spare3[188]) // TODO dirty hack for eeprom conversions (we load the model inside the g_model structure)
}) ModelData;
extern EEGeneral g_eeGeneral;