Skip to content

Commit

Permalink
Remove preprocessor sanity check for STM32L0/L1 now that it relies on…
Browse files Browse the repository at this point in the history
… types in C. (qmk#24793)
  • Loading branch information
tzarc authored Jan 6, 2025
1 parent c9f9475 commit bcee1d2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions platforms/chibios/drivers/eeprom/eeprom_stm32_L0_L1.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bcee1d2

Please sign in to comment.