🎨 Fix "'EEPROM' unused" warning (#22511)
This commit is contained in:
parent
4e54fa2320
commit
1bee38a1c1
@ -104,6 +104,8 @@ size_t PersistentStore::capacity() { return MARLIN_EEPROM_SIZE; }
|
|||||||
|
|
||||||
bool PersistentStore::access_start() {
|
bool PersistentStore::access_start() {
|
||||||
|
|
||||||
|
EEPROM.begin(); // Avoid STM32 EEPROM.h warning (do nothing)
|
||||||
|
|
||||||
#if ENABLED(FLASH_EEPROM_LEVELING)
|
#if ENABLED(FLASH_EEPROM_LEVELING)
|
||||||
|
|
||||||
if (current_slot == -1 || eeprom_data_written) {
|
if (current_slot == -1 || eeprom_data_written) {
|
||||||
|
Loading…
Reference in New Issue
Block a user