Remove 'const' from PersistentStore::capacity

This commit is contained in:
Scott Lahteine
2018-08-14 01:04:11 -05:00
parent c64199941e
commit 834ea7fcea
10 changed files with 15 additions and 15 deletions

View File

@ -101,7 +101,7 @@ bool PersistentStore::read_data(int &pos, uint8_t* value, const size_t size, uin
return false;
}
const size_t PersistentStore::capacity() { return E2END + 1; }
size_t PersistentStore::capacity() { return E2END + 1; }
#endif // EEPROM_SETTINGS && EEPROM FLASH
#endif // __STM32F1__

View File

@ -79,7 +79,7 @@ bool PersistentStore::read_data(int &pos, uint8_t* value, const size_t size, uin
return false;
}
const size_t PersistentStore::capacity() { return HAL_STM32F1_EEPROM_SIZE; }
size_t PersistentStore::capacity() { return HAL_STM32F1_EEPROM_SIZE; }
#endif // EEPROM_SETTINGS