Eliminate some warnings

This commit is contained in:
Gregory Nutt 2016-12-05 18:07:15 -06:00
parent e5e5467097
commit 8558bf6bd5
3 changed files with 3 additions and 3 deletions

View File

@ -141,7 +141,7 @@ int board_app_initialize(uintptr_t arg)
lpc43_i2ctool();
#ifdef CONFIG_ADC
#ifdef CONFIG_LPC43_ADC0
/* Initialize ADC and register the ADC driver. */
ret = lpc43_adc_setup();

View File

@ -81,7 +81,7 @@
# undef HAVE_PWM
#endif
#if CONFIG_STM32_TIM3_CHANNEL != STM32F103MINIMUM_PWMCHANNEL
#if !defined(CONFIG_STM32_TIM3_CHANNEL) || CONFIG_STM32_TIM3_CHANNEL != STM32F103MINIMUM_PWMCHANNEL
# undef HAVE_PWM
#endif

View File

@ -79,7 +79,7 @@
# undef HAVE_PWM
#endif
#if CONFIG_STM32_TIM4_CHANNEL != STM32F4DISCOVERY_PWMCHANNEL
#if !defined(CONFIG_STM32_TIM4_CHANNEL) || CONFIG_STM32_TIM4_CHANNEL != STM32F4DISCOVERY_PWMCHANNEL
# undef HAVE_PWM
#endif