🎨 Fix "'EEPROM' unused" warning (#22511)

This commit is contained in:
Tanguy Pruvot 2021-08-06 22:51:10 +02:00 committed by Scott Lahteine
parent 4e54fa2320
commit 1bee38a1c1

View File

@ -104,6 +104,8 @@ size_t PersistentStore::capacity() { return MARLIN_EEPROM_SIZE; }
bool PersistentStore::access_start() {
EEPROM.begin(); // Avoid STM32 EEPROM.h warning (do nothing)
#if ENABLED(FLASH_EEPROM_LEVELING)
if (current_slot == -1 || eeprom_data_written) {