1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Improved structure alignments

This commit is contained in:
Martin Budden 2017-07-19 07:22:12 +01:00
parent b1ec3d04f2
commit 0ddc4540cd
4 changed files with 7 additions and 18 deletions

View file

@ -22,13 +22,10 @@
typedef struct flashGeometry_s {
uint16_t sectors; // Count of the number of erasable blocks on the device
uint16_t pagesPerSector;
const uint16_t pageSize; // In bytes
uint32_t sectorSize; // This is just pagesPerSector * pageSize
uint32_t totalSize; // This is just sectorSize * sectors
uint16_t pagesPerSector;
} flashGeometry_t;
typedef struct flashConfig_s {