AP_HAL_SITL: Bitmask is now a template
This commit is contained in:
parent
3c3b12ba77
commit
0dd71e7b3a
@ -38,7 +38,7 @@ private:
|
|||||||
void _save_backup(void);
|
void _save_backup(void);
|
||||||
void _mark_dirty(uint16_t loc, uint16_t length);
|
void _mark_dirty(uint16_t loc, uint16_t length);
|
||||||
uint8_t _buffer[HAL_STORAGE_SIZE] __attribute__((aligned(4)));
|
uint8_t _buffer[HAL_STORAGE_SIZE] __attribute__((aligned(4)));
|
||||||
Bitmask _dirty_mask{STORAGE_NUM_LINES};
|
Bitmask<STORAGE_NUM_LINES> _dirty_mask;
|
||||||
|
|
||||||
#if STORAGE_USE_FLASH
|
#if STORAGE_USE_FLASH
|
||||||
bool _flash_write_data(uint8_t sector, uint32_t offset, const uint8_t *data, uint16_t length);
|
bool _flash_write_data(uint8_t sector, uint32_t offset, const uint8_t *data, uint16_t length);
|
||||||
|
Loading…
Reference in New Issue
Block a user