diff --git a/platforms/chibios/chibios_config.h b/platforms/chibios/chibios_config.h index 08769171bd22..9ed010e9c7d1 100644 --- a/platforms/chibios/chibios_config.h +++ b/platforms/chibios/chibios_config.h @@ -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