From aa7d4b40c13b3731fb08460bfe45a3e63ddfd765 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Mon, 23 Jan 2023 15:41:12 +0100 Subject: [PATCH] stm32/foc: move the warning in the right place - should be in stm32f7 --- arch/arm/src/stm32/stm32_foc.c | 2 -- arch/arm/src/stm32f7/stm32_foc.c | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/stm32/stm32_foc.c b/arch/arm/src/stm32/stm32_foc.c index 12af6686c4f..a80aaea990d 100644 --- a/arch/arm/src/stm32/stm32_foc.c +++ b/arch/arm/src/stm32/stm32_foc.c @@ -601,8 +601,6 @@ #ifdef CONFIG_MOTOR_FOC_BEMF_SENSE -# warning not tested on HW - /* Additional checks for BEMF sensing */ # if defined(CONFIG_STM32_FOC_FOC0) && defined(CONFIG_STM32_FOC_FOC1) diff --git a/arch/arm/src/stm32f7/stm32_foc.c b/arch/arm/src/stm32f7/stm32_foc.c index c282661e393..5e3881b7cff 100644 --- a/arch/arm/src/stm32f7/stm32_foc.c +++ b/arch/arm/src/stm32f7/stm32_foc.c @@ -427,6 +427,9 @@ #endif #ifdef CONFIG_MOTOR_FOC_BEMF_SENSE + +# warning not tested on HW + /* Additional checks for BEMF sensing */ # if defined(CONFIG_STM32_FOC_FOC0) && defined(CONFIG_STM32_FOC_FOC1)