From 8f65a7978920f9b48c21ca84024f277728eae220 Mon Sep 17 00:00:00 2001 From: jflyper Date: Wed, 20 Jun 2018 07:47:34 +0900 Subject: [PATCH] Remove RX_PARALLEL_PWM originated feature validation based on pins --- src/main/fc/config.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/fc/config.c b/src/main/fc/config.c index 55ddccd9b..421af8c31 100644 --- a/src/main/fc/config.c +++ b/src/main/fc/config.c @@ -213,16 +213,6 @@ static void validateAndFixConfig(void) if (featureConfigured(FEATURE_RX_PARALLEL_PWM)) { featureClear(FEATURE_RX_SERIAL | FEATURE_RX_MSP | FEATURE_RX_PPM | FEATURE_RX_SPI); -#if defined(STM32F10X) - // rssi adc needs the same ports - featureClear(FEATURE_RSSI_ADC); - // current meter needs the same ports - if (batteryConfig()->currentMeterSource == CURRENT_METER_ADC) { - batteryConfigMutable()->currentMeterSource = CURRENT_METER_NONE; - } -#endif // STM32F10X - // software serial needs free PWM ports - featureClear(FEATURE_SOFTSERIAL); } #ifdef USE_SOFTSPI