Skip to content

Commit f045ca2

Browse files
authored
Fix type to ensure correct alignment; saves 4B per entry (#8465)
1 parent b6830a6 commit f045ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mesh/PacketCache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ typedef struct PacketCacheEntry {
1717
uint8_t encrypted : 1; // Payload is encrypted
1818
uint8_t has_metadata : 1; // Payload includes PacketCacheMetadata
1919
uint8_t : 6; // Reserved for future use
20-
uint16_t : 8; // Reserved for future use
20+
uint8_t : 8; // Reserved for future use
2121
};
2222
};
2323
} PacketCacheEntry;

0 commit comments

Comments
 (0)