You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/05/25 09:16:22 UTC
[incubator-nuttx] branch master updated: Fix stm32 pwm HAVE_ADVTIM
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 684f2cbbac Fix stm32 pwm HAVE_ADVTIM
684f2cbbac is described below
commit 684f2cbbac1e328bb2fb3750de41bae5383ad3a5
Author: Alexey Matveev <ti...@yandex.ru>
AuthorDate: Wed May 25 08:39:43 2022 +0300
Fix stm32 pwm HAVE_ADVTIM
---
arch/arm/src/stm32/stm32_pwm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/src/stm32/stm32_pwm.c b/arch/arm/src/stm32/stm32_pwm.c
index 9b175e9572..6468ac3983 100644
--- a/arch/arm/src/stm32/stm32_pwm.c
+++ b/arch/arm/src/stm32/stm32_pwm.c
@@ -529,7 +529,9 @@ static const struct stm32_pwm_ops_s g_llpwmops =
.ccr_get = pwm_ccr_get,
.arr_update = pwm_arr_update,
.arr_get = pwm_arr_get,
+#ifdef HAVE_ADVTIM
.rcr_update = pwm_rcr_update,
+#endif
.rcr_get = pwm_rcr_get,
#ifdef HAVE_TRGO
.trgo_set = pwm_trgo_configure,