diff --git a/arch/arm/src/stm32/stm32_adc.c b/arch/arm/src/stm32/stm32_adc.c index 7efe5f10ac..8e2006c09d 100644 --- a/arch/arm/src/stm32/stm32_adc.c +++ b/arch/arm/src/stm32/stm32_adc.c @@ -473,9 +473,7 @@ static void adc_modifyreg(FAR struct stm32_dev_s *priv, int offset, static uint32_t adccmn_base_get(FAR struct stm32_dev_s *priv); static void adccmn_modifyreg(FAR struct stm32_dev_s *priv, uint32_t offset, uint32_t clrbits, uint32_t setbits); -# ifdef CONFIG_DEBUG_ANALOG_INFO static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset); -# endif #endif #ifdef ADC_HAVE_TIMER static uint16_t tim_getreg(FAR struct stm32_dev_s *priv, int offset); @@ -1086,7 +1084,6 @@ static void adccmn_modifyreg(FAR struct stm32_dev_s *priv, uint32_t offset, * Name: adccmn_getreg ****************************************************************************/ -# ifdef CONFIG_DEBUG_ANALOG_INFO static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset) { uint32_t base = 0; @@ -1099,7 +1096,6 @@ static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset) return getreg32(base + offset); } -# endif #endif /* HAVE_ADC_CMN_REGS */ /****************************************************************************