mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_FlashStorage: fixed size of flash storage
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
class AP_FlashStorage {
|
||||
private:
|
||||
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;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user