Eliminate some warnings
This commit is contained in:
parent
e5e5467097
commit
8558bf6bd5
@ -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();
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user