From 32a8c2975350bf543b048caf9329461269448bd4 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Tue, 14 Nov 2023 09:26:16 +0100 Subject: [PATCH] examples/foc: don't raise error when EXAMPLES_FOC_IPHASE_ADC isn't set This is the first step towards getting rid of CONFIG_EXAMPLES_FOC_IPHASE_ADC completely --- examples/foc/foc_cfg.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/foc/foc_cfg.h b/examples/foc/foc_cfg.h index 827d996f2..1c7bd1965 100644 --- a/examples/foc/foc_cfg.h +++ b/examples/foc/foc_cfg.h @@ -75,12 +75,6 @@ # error CONFIG_EXAMPLES_FOC_RAMP_DEC not configured #endif -/* ADC Iphase ratio must be provided */ - -#if (CONFIG_EXAMPLES_FOC_IPHASE_ADC == 0) -# error -#endif - /* Motor identification support */ #ifdef CONFIG_EXAMPLES_FOC_HAVE_IDENT