Skip to content

Commit

Permalink
AP_HAL_ChibiOS: Increase limit for Storage pages
Browse files Browse the repository at this point in the history
STm32l4+ has 512 flash pages in dual flash mode
  • Loading branch information
tsubashchandar authored and tridge committed Sep 17, 2023
1 parent 2207f7b commit d1e8cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/Storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ChibiOS::Storage : public AP_HAL::Storage {
bool _flash_read_data(uint8_t sector, uint32_t offset, uint8_t *data, uint16_t length);
bool _flash_erase_sector(uint8_t sector);
bool _flash_erase_ok(void);
uint8_t _flash_page;
uint16_t _flash_page;
bool _flash_failed;
uint32_t _last_re_init_ms;
uint32_t _last_empty_ms;
Expand Down

0 comments on commit d1e8cef

Please sign in to comment.