Fix some warnings found in build testing.

This commit is contained in:
Gregory Nutt
2019-01-27 17:23:01 -06:00
parent 732bef73a7
commit 78c8485b0d
5 changed files with 10 additions and 1 deletions
+2
View File
@@ -3649,6 +3649,7 @@ static uint32_t adc_sqrbits(FAR struct stm32_dev_s *priv, int first, int last,
* Name: adc_offset_set
****************************************************************************/
#ifdef CONFIG_STM32_ADC_LL_OPS
#ifdef HAVE_IP_ADC_V2
static int adc_offset_set(FAR struct stm32_adc_dev_s *dev, uint8_t ch,
uint8_t i, uint16_t offset)
@@ -3705,6 +3706,7 @@ errout:
return ret;
}
#endif
#endif /* CONFIG_STM32_ADC_LL_OPS */
/****************************************************************************
* Name: adc_set_ch