Browse Source

Decouple VIA from STM32 L0/L1 EEPROM implementation (#23901)

Joel Challis 2 years ago
parent
commit
b826877c40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h

+ 1 - 1
platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h

@@ -20,7 +20,7 @@
     The size used by the STM32 L0/L1 EEPROM driver.
 */
 #ifndef STM32_ONBOARD_EEPROM_SIZE
-#    ifdef VIA_ENABLE
+#    ifdef DYNAMIC_KEYMAP_ENABLE
 #        define STM32_ONBOARD_EEPROM_SIZE 1024
 #    else
 #        include "eeconfig.h"