mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Improve flashfs codegen by fixing pagesize at a constant 256 bytes
This commit is contained in:
parent
cfdb1bdc56
commit
8a06849657
4 changed files with 8 additions and 16 deletions
|
@ -23,7 +23,7 @@ typedef struct flashGeometry_t {
|
|||
uint16_t sectors; // Count of the number of erasable blocks on the device
|
||||
|
||||
uint16_t pagesPerSector;
|
||||
uint16_t pageSize; // In bytes
|
||||
const uint16_t pageSize; // In bytes
|
||||
|
||||
uint32_t sectorSize; // This is just pagesPerSector * pageSize
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue