diff options
| -rw-r--r-- | platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h b/platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h index c1d801f225..1e6b4e4e42 100644 --- a/platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h +++ b/platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h | |||
| @@ -27,7 +27,3 @@ | |||
| 27 | # define STM32_ONBOARD_EEPROM_SIZE (((EECONFIG_SIZE + 3) / 4) * 4) // based off eeconfig's current usage, aligned to 4-byte sizes, to deal with LTO and EEPROM page sizing | 27 | # define STM32_ONBOARD_EEPROM_SIZE (((EECONFIG_SIZE + 3) / 4) * 4) // based off eeconfig's current usage, aligned to 4-byte sizes, to deal with LTO and EEPROM page sizing |
| 28 | # endif | 28 | # endif |
| 29 | #endif | 29 | #endif |
| 30 | |||
| 31 | #if STM32_ONBOARD_EEPROM_SIZE > 128 | ||
| 32 | # pragma message("Please note: resetting EEPROM using an STM32L0/L1 device takes up to 1 second for every 1kB of internal EEPROM used.") | ||
| 33 | #endif | ||
