diff options
author | Joel Challis <git@zvecr.com> | 2021-09-05 21:36:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 21:36:43 +0100 |
commit | 8d6d8cfadfd1522b3dd2cc8ac1ce7393b45bbe64 (patch) | |
tree | ba073cc829e8311462375d5bf20667f3b89c0cf4 /tmk_core/common/test/eeprom_stm32_tests.cpp | |
parent | fe6d6cf76dc827adb2f46d55217dc189eae21b02 (diff) |
Tidy up defines within STM EEPROM emulation (#14275)
* Tidy up defines within stm eeprom emulation
* Fix tests
* Resolve todo
* Still use page notion in clear
* Remove more f4 refs
Diffstat (limited to 'tmk_core/common/test/eeprom_stm32_tests.cpp')
-rw-r--r-- | tmk_core/common/test/eeprom_stm32_tests.cpp | 2 |
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) |