aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/TIMv1
diff options
context:
space:
mode:
authorJakub Kaderka <jakub.kaderka@gmail.com>2018-10-16 20:25:29 +0200
committerJakub Kaderka <jakub.kaderka@gmail.com>2018-10-16 20:25:29 +0200
commitc4519da48a02bebfde897e3227ae40b600fa1cb0 (patch)
treef46bcd70acaac67dd1f4d57fdf83140dfa0a333d /os/hal/ports/STM32/LLD/TIMv1
parent22e538df162c8c8ecdaf2f223c24c0e8a67c9db5 (diff)
downloadChibiOS-Contrib-c4519da48a02bebfde897e3227ae40b600fa1cb0.tar.gz
ChibiOS-Contrib-c4519da48a02bebfde897e3227ae40b600fa1cb0.tar.bz2
ChibiOS-Contrib-c4519da48a02bebfde897e3227ae40b600fa1cb0.zip
Added setting qei to value for stm32
Diffstat (limited to 'os/hal/ports/STM32/LLD/TIMv1')
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h b/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h
index 73468f5..a9bdaf4 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h
@@ -415,7 +415,7 @@ struct QEIDriver {
*
* @notapi
*/
-#define qei_lld_set_count(qeip, value)
+#define qei_lld_set_count(qeip, value) ((qeip)->tim->CNT = (value))
/*===========================================================================*/
/* External declarations. */