Ver Fonte

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

Nick Brassel há 1 ano atrás
pai
commit
bcee1d2f2e
1 ficheiros alterados com 0 adições e 4 exclusões
  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
 #        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
 #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