mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Eliminate some warnings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user