summaryrefslogtreecommitdiff
path: root/tmk_core/common/test/eeprom_stm32_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/test/eeprom_stm32_tests.cpp')
-rw-r--r--tmk_core/common/test/eeprom_stm32_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/test/eeprom_stm32_tests.cpp b/tmk_core/common/test/eeprom_stm32_tests.cpp
index aa84492b87..5bc8d87900 100644
--- a/tmk_core/common/test/eeprom_stm32_tests.cpp
+++ b/tmk_core/common/test/eeprom_stm32_tests.cpp
@@ -46,7 +46,7 @@ extern "C" {
*
*/
-#define EEPROM_SIZE (FEE_PAGE_SIZE * FEE_DENSITY_PAGES / 2)
+#define EEPROM_SIZE (FEE_PAGE_SIZE * FEE_PAGE_COUNT / 2)
#define LOG_SIZE EEPROM_SIZE
#define LOG_BASE (MOCK_FLASH_SIZE - LOG_SIZE)
#define EEPROM_BASE (LOG_BASE - EEPROM_SIZE)