diff --git a/libraries/AP_HAL_ChibiOS/Storage.h b/libraries/AP_HAL_ChibiOS/Storage.h index beccd623b18a5..59266d19bb086 100644 --- a/libraries/AP_HAL_ChibiOS/Storage.h +++ b/libraries/AP_HAL_ChibiOS/Storage.h @@ -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;