mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-27 15:02:41 +00:00
Fix type to ensure correct alignment; saves 4B per entry
This commit is contained in:
parent
13c4c2037d
commit
eac3442436
@ -17,7 +17,7 @@ typedef struct PacketCacheEntry {
|
|||||||
uint8_t encrypted : 1; // Payload is encrypted
|
uint8_t encrypted : 1; // Payload is encrypted
|
||||||
uint8_t has_metadata : 1; // Payload includes PacketCacheMetadata
|
uint8_t has_metadata : 1; // Payload includes PacketCacheMetadata
|
||||||
uint8_t : 6; // Reserved for future use
|
uint8_t : 6; // Reserved for future use
|
||||||
uint16_t : 8; // Reserved for future use
|
uint8_t : 8; // Reserved for future use
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} PacketCacheEntry;
|
} PacketCacheEntry;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user