Browse Source

AP_HAL_SITL: Bitmask is now a template

master
Peter Barker 6 years ago committed by Andrew Tridgell
parent
commit
0dd71e7b3a
  1. 2
      libraries/AP_HAL_SITL/Storage.h

2
libraries/AP_HAL_SITL/Storage.h

@ -38,7 +38,7 @@ private: @@ -38,7 +38,7 @@ private:
void _save_backup(void);
void _mark_dirty(uint16_t loc, uint16_t length);
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
bool _flash_write_data(uint8_t sector, uint32_t offset, const uint8_t *data, uint16_t length);

Loading…
Cancel
Save