Update PersistentStore api (#11538)
- Clean up the API to use a `static` class instance to adhere to Marlin convention - Add `const` position data access for read/write - Add Storage capacity to the interface
This commit is contained in:
parent
60f1376798
commit
66d2b48b59
13 changed files with 199 additions and 117 deletions
|
|
@ -1172,7 +1172,7 @@
|
|||
|
||||
SERIAL_ECHO_START();
|
||||
SERIAL_ECHOLNPGM("EEPROM Dump:");
|
||||
for (uint16_t i = 0; i <= E2END; i += 16) {
|
||||
for (uint16_t i = 0; i < persistentStore.capacity(); i += 16) {
|
||||
if (!(i & 0x3)) idle();
|
||||
print_hex_word(i);
|
||||
SERIAL_ECHOPGM(": ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue