Remove 'const' from PersistentStore::capacity
This commit is contained in:
@ -64,7 +64,7 @@ bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t
|
||||
return false;
|
||||
}
|
||||
|
||||
const size_t PersistentStore::capacity() { return E2END + 1; }
|
||||
size_t PersistentStore::capacity() { return E2END + 1; }
|
||||
|
||||
#endif // EEPROM_SETTINGS
|
||||
#endif // STM32F7
|
||||
|
Reference in New Issue
Block a user