mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Save ~3K of flash by re-ordering and packing the OSD_Entry structure.
This commit is contained in:
parent
78f38daa4f
commit
ba5b4c7375
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ typedef struct
|
||||||
const CMSEntryFuncPtr func;
|
const CMSEntryFuncPtr func;
|
||||||
void *data;
|
void *data;
|
||||||
const uint8_t flags;
|
const uint8_t flags;
|
||||||
} OSD_Entry;
|
} __attribute__((packed)) OSD_Entry;
|
||||||
|
|
||||||
// Bits in flags
|
// Bits in flags
|
||||||
#define PRINT_VALUE 0x01 // Value has been changed, need to redraw
|
#define PRINT_VALUE 0x01 // Value has been changed, need to redraw
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue