mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
fix from frog32 for external adc channel allocation;
fix from mwc forum for frsky telemetry gps output git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@237 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
12dfa8915d
commit
af7e135d75
3 changed files with 2182 additions and 2183 deletions
|
@ -454,7 +454,7 @@ bool pwmInit(drv_pwm_config_t *init)
|
|||
continue;
|
||||
|
||||
// skip ADC for powerMeter if configured
|
||||
if (init->adcChannel && (init->adcChannel == PWM2 || init->adcChannel == PWM8))
|
||||
if (init->adcChannel && (init->adcChannel == port))
|
||||
continue;
|
||||
|
||||
// hacks to allow current functionality
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue