AP_FlashStorage: reduced sector size for example

allows it to fit in SRAM on PX4
This commit is contained in:
Andrew Tridgell
2016-12-02 09:49:40 +11:00
parent cd506834b7
commit 0e00c3cf9b
@@ -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];