aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-09-03 17:16:06 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-09-03 17:16:06 +0000
commit7d99d4c8c07408d8e1d1f61044eb037148b235c2 (patch)
tree0f324b7cd9f8cdfca762f880d1c0adaca7452fcf
parent6ddf9cf1ee0dfc6b13575f16880f44237f93454c (diff)
downloadChibiOS-7d99d4c8c07408d8e1d1f61044eb037148b235c2.tar.gz
ChibiOS-7d99d4c8c07408d8e1d1f61044eb037148b235c2.tar.bz2
ChibiOS-7d99d4c8c07408d8e1d1f61044eb037148b235c2.zip
Fixed bug #880.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10550 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h2
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h b/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h
index b9e083ca8..7e3351e5a 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h
+++ b/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h
@@ -327,7 +327,7 @@
#define STM32_TIM_DCR_DBA(n) ((n) << 0)
#define STM32_TIM_DCR_DBL_MASK (31U << 8)
-#define STM32_TIM_DCR_DBL(b) ((n) << 8)
+#define STM32_TIM_DCR_DBL(n) ((n) << 8)
/** @} */
/**
diff --git a/readme.txt b/readme.txt
index f9e770b51..c1a7cc935 100644
--- a/readme.txt
+++ b/readme.txt
@@ -115,6 +115,8 @@
dependencies and configuration directories. This makes possible
to have multiple non-conflicting makefiles in the same project.
Updated the various platform.mk implementing "smart build" mode.
+- HAL: Fixed TIMx DBL field macro broken (bug #880)(backported
+ to 17.6.1 and 16.1.9).
- HAL: Fixed STM32 SPI problem in spi_lld_start() (bug #879)(backported
to 17.6.1 and 16.1.9).
- HAL: Fixed invalid STM32 CAN3 filters initialization (bug #878)