Skip to content

Commit

Permalink
sn32: protect last eeprom sector when using efl
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter93 committed Jun 4, 2024
1 parent 21e43eb commit 9ab4d69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platforms/chibios/chibios_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,7 @@

#if defined(SN32F2)
# define CPU_CLOCK SN32_HCLK
# ifndef WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT
# define WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT 1
# endif
#endif

0 comments on commit 9ab4d69

Please sign in to comment.