diff options
author | Nick Brassel <nick@tzarc.org> | 2022-08-19 14:20:44 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 05:20:44 +0100 |
commit | 1eac095c0c200990c41966944c2b65e633d361f8 (patch) | |
tree | 5acc7e71862f8a7c9fab56b0cd02e883a6b49399 /platforms | |
parent | 5ee482b11063d494eb85a99434593893279d6b45 (diff) | |
download | qmk_firmware-1eac095c0c200990c41966944c2b65e633d361f8.tar.gz qmk_firmware-1eac095c0c200990c41966944c2b65e633d361f8.zip |
Use the correct bootloader definition. (#18102)
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/chibios/drivers/wear_leveling/wear_leveling_legacy_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/wear_leveling/wear_leveling_legacy_config.h b/platforms/chibios/drivers/wear_leveling/wear_leveling_legacy_config.h index 1e4691a6c0..e64cab87d1 100644 --- a/platforms/chibios/drivers/wear_leveling/wear_leveling_legacy_config.h +++ b/platforms/chibios/drivers/wear_leveling/wear_leveling_legacy_config.h @@ -39,7 +39,7 @@ # if defined(QMK_MCU_STM32F042) || defined(QMK_MCU_STM32F070) || defined(QMK_MCU_STM32F072) # define WEAR_LEVELING_LEGACY_EMULATION_BASE_PAGE_ADDRESS ((uintptr_t)(WEAR_LEVELING_LEGACY_EMULATION_FLASH_BASE) + WEAR_LEVELING_LEGACY_EMULATION_FLASH_SIZE * 1024 - (WEAR_LEVELING_LEGACY_EMULATION_PAGE_COUNT * WEAR_LEVELING_LEGACY_EMULATION_PAGE_SIZE)) # elif defined(QMK_MCU_STM32F401) || defined(QMK_MCU_STM32F411) -# if defined(BOOTLOADER_STM32) +# if defined(BOOTLOADER_STM32_DFU) # define WEAR_LEVELING_LEGACY_EMULATION_BASE_PAGE_ADDRESS (WEAR_LEVELING_LEGACY_EMULATION_FLASH_BASE + (1 * (WEAR_LEVELING_LEGACY_EMULATION_PAGE_SIZE))) // +16k # elif defined(BOOTLOADER_TINYUF2) # define WEAR_LEVELING_LEGACY_EMULATION_BASE_PAGE_ADDRESS (WEAR_LEVELING_LEGACY_EMULATION_FLASH_BASE + (3 * (WEAR_LEVELING_LEGACY_EMULATION_PAGE_SIZE))) // +48k |