mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 01:13:35 +08:00
modules: flashparams: Change size to uint32_t
So flash sector of 64Kbyes and 128Kbytes can also be used.
This commit is contained in:
committed by
Lorenz Meier
parent
a2670bdbc8
commit
75e7cfcbe8
@@ -99,7 +99,7 @@ __EXPORT extern const flash_file_token_t parameters_token;
|
|||||||
*/
|
*/
|
||||||
typedef struct sector_descriptor_t {
|
typedef struct sector_descriptor_t {
|
||||||
uint8_t page;
|
uint8_t page;
|
||||||
uint16_t size;
|
uint32_t size;
|
||||||
uint32_t address;
|
uint32_t address;
|
||||||
} sector_descriptor_t;
|
} sector_descriptor_t;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user