aboutsummaryrefslogtreecommitdiffstats
path: root/platforms/eeprom.h
diff options
context:
space:
mode:
authorJoel Challis2025-05-12 00:39:38 +0200
committerGitHub2025-05-12 00:39:38 +0200
commit3e7ce54902aeff14cf9242d0d5a73d9d655a9de7 (patch)
tree1fb945df6957c6054a21c060b0dcbedca160d76b /platforms/eeprom.h
parent88c094908bb94324e28876f2beb8028a9fad086d (diff)
Fix Wear Leveling compilation (#25254)
Diffstat (limited to 'platforms/eeprom.h')
-rw-r--r--platforms/eeprom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platforms/eeprom.h b/platforms/eeprom.h
index 067fa01616..557bfb030c 100644
--- a/platforms/eeprom.h
+++ b/platforms/eeprom.h
@@ -37,6 +37,7 @@ void eeprom_update_block(const void *__src, void *__dst, size_t __n);
# endif
# define TOTAL_EEPROM_BYTE_COUNT (EEPROM_SIZE)
#elif defined(EEPROM_WEAR_LEVELING)
+# include "wear_leveling_drivers.h"
# define TOTAL_EEPROM_BYTE_COUNT (WEAR_LEVELING_LOGICAL_SIZE)
#elif defined(EEPROM_TRANSIENT)
# include "eeprom_transient.h"