From 7d99d4c8c07408d8e1d1f61044eb037148b235c2 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 3 Sep 2017 17:16:06 +0000 Subject: Fixed bug #880. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10550 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h | 2 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3