mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 00:13:59 -04:00
AP_FlashStorage: fixed size of flash storage
This commit is contained in:
parent
0bfbc4bf72
commit
3b5f66fd9f
@ -45,7 +45,7 @@
|
|||||||
class AP_FlashStorage {
|
class AP_FlashStorage {
|
||||||
private:
|
private:
|
||||||
static const uint8_t block_size = 8;
|
static const uint8_t block_size = 8;
|
||||||
static const uint16_t num_blocks = 2048;
|
static const uint16_t num_blocks = HAL_STORAGE_SIZE / block_size;
|
||||||
static const uint8_t max_write = 64;
|
static const uint8_t max_write = 64;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user