Browse Source

Remove preprocessor sanity check for STM32L0/L1 now that it relies on types in C. (#24793)

Nick Brassel 1 year ago
parent
commit
bcee1d2f2e
1 changed files with 0 additions and 4 deletions
  1. 0 4
      platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h

+ 0 - 4
platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h

@@ -27,7 +27,3 @@
 #        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
 #    endif
 #endif
-
-#if STM32_ONBOARD_EEPROM_SIZE > 128
-#    pragma message("Please note: resetting EEPROM using an STM32L0/L1 device takes up to 1 second for every 1kB of internal EEPROM used.")
-#endif