mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Current monitoring on CC3D
This commit is contained in:
parent
fd32ad6fcb
commit
d0ec471d03
5 changed files with 46 additions and 11 deletions
|
@ -309,6 +309,12 @@ pwmOutputConfiguration_t *pwmInit(drv_pwm_config_t *init)
|
|||
continue;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CC3D
|
||||
if (init->useCurrentMeterADC && timerIndex == PWM6) {
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
// hacks to allow current functionality
|
||||
if (type == MAP_TO_PWM_INPUT && !init->useParallelPWM)
|
||||
type = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue