Code: Select all
..//os/hal/platforms/STM32/TIMv1/pwm_lld.c:402:12: warning: unused variable ‘dier’ [-Wunused-variable]
It seems the logic that manipulates the variable 'dier' is within a #if STM32_PWM_USE_TIM1 block, and if not enabled, the dier variable is unecessary.