aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/platforms/STM32/pwm_lld.h2
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/pwm_lld.h b/os/hal/platforms/STM32/pwm_lld.h
index 57fc17c29..98e84945d 100644
--- a/os/hal/platforms/STM32/pwm_lld.h
+++ b/os/hal/platforms/STM32/pwm_lld.h
@@ -233,7 +233,7 @@
#if !STM32_PWM_USE_TIM1 && !STM32_PWM_USE_TIM2 && \
!STM32_PWM_USE_TIM3 && !STM32_PWM_USE_TIM4 && \
!STM32_PWM_USE_TIM5 && !STM32_PWM_USE_TIM8 && \
- !STM32_PWM_USE_TIM8
+ !STM32_PWM_USE_TIM9
#error "PWM driver activated but no TIM peripheral assigned"
#endif
diff --git a/readme.txt b/readme.txt
index 73a5d47e7..c08d4f806 100644
--- a/readme.txt
+++ b/readme.txt
@@ -89,6 +89,8 @@
*****************************************************************************
*** 2.7.0 ***
+- FIX: Fixed error in Guards of pwm_lld.h from STM32 (bug #423)(backported to
+ 2.6.1).
- FIX: Fixed wrong RTC macro names in STM32L1xx HAL (bug #422)(backported to
2.6.1 and 2.4.5).
- FIX: Fixed CodeSourcery personal version fails to build with undefined