AP_FlashStorage: reduced sector size for example

allows it to fit in SRAM on PX4
This commit is contained in:
Andrew Tridgell 2016-11-18 05:54:47 +11:00
parent cd506834b7
commit 0e00c3cf9b
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public:
void loop() override;
private:
static const uint32_t flash_sector_size = 128U * 1024U;
static const uint32_t flash_sector_size = 32U * 1024U;
uint8_t mem_buffer[AP_FlashStorage::storage_size];
uint8_t mem_mirror[AP_FlashStorage::storage_size];