From 3c3b12ba7728e1ac35710b90db12f37a769b35a4 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 11 Apr 2019 22:12:54 +1000 Subject: [PATCH] AP_HAL_ChibiOS: Bitmask is now a template --- libraries/AP_HAL_ChibiOS/Storage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/Storage.h b/libraries/AP_HAL_ChibiOS/Storage.h index be9797c035..c56244d84a 100644 --- a/libraries/AP_HAL_ChibiOS/Storage.h +++ b/libraries/AP_HAL_ChibiOS/Storage.h @@ -50,7 +50,7 @@ private: void _save_backup(void); void _mark_dirty(uint16_t loc, uint16_t length); uint8_t _buffer[CH_STORAGE_SIZE] __attribute__((aligned(4))); - Bitmask _dirty_mask{CH_STORAGE_NUM_LINES}; + Bitmask _dirty_mask; bool _flash_write_data(uint8_t sector, uint32_t offset, const uint8_t *data, uint16_t length); bool _flash_read_data(uint8_t sector, uint32_t offset, uint8_t *data, uint16_t length);