From eac34424369f9d53253fc535dee9974961878c37 Mon Sep 17 00:00:00 2001 From: Steve Gilberd Date: Mon, 27 Oct 2025 16:26:05 +1300 Subject: [PATCH] Fix type to ensure correct alignment; saves 4B per entry --- src/mesh/PacketCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/PacketCache.h b/src/mesh/PacketCache.h index 81ad455da..85660922b 100644 --- a/src/mesh/PacketCache.h +++ b/src/mesh/PacketCache.h @@ -17,7 +17,7 @@ typedef struct PacketCacheEntry { uint8_t encrypted : 1; // Payload is encrypted uint8_t has_metadata : 1; // Payload includes PacketCacheMetadata uint8_t : 6; // Reserved for future use - uint16_t : 8; // Reserved for future use + uint8_t : 8; // Reserved for future use }; }; } PacketCacheEntry;