1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

Compilation fix

This commit is contained in:
Bertrand Songis 2016-03-05 08:06:54 +01:00
parent a7d0816ac7
commit 4104efbb17

View file

@ -693,12 +693,17 @@ typedef uint16_t BeepANACenter;
typedef uint8_t BeepANACenter;
#endif
#if LEN_BITMAP_NAME > 0
#define MODEL_HEADER_BITMAP_FIELD NOBACKUP(char bitmap[LEN_BITMAP_NAME]);
#else
#define MODEL_HEADER_BITMAP_FIELD
#endif
PACK(struct ModelHeader {
char name[LEN_MODEL_NAME]; // must be first for eeLoadModelName
uint8_t modelId[NUM_MODULES];
#if LEN_BITMAP_NAME > 0
NOBACKUP(char bitmap[LEN_BITMAP_NAME]);
#endif
MODEL_HEADER_BITMAP_FIELD
});
#if defined(COLORLCD)