mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
SoftSerial port for CC3D
This commit is contained in:
parent
63236d5a2a
commit
20c4dae7c2
7 changed files with 44 additions and 6 deletions
|
@ -283,11 +283,17 @@ pwmOutputConfiguration_t *pwmInit(drv_pwm_config_t *init)
|
|||
continue;
|
||||
#endif
|
||||
|
||||
#ifdef CC3D
|
||||
// skip SoftSerial port
|
||||
if (init->useSoftSerial && (timerIndex == PWM3 || timerIndex == PWM4))
|
||||
continue;
|
||||
else
|
||||
#ifdef STM32F10X
|
||||
// skip softSerial ports
|
||||
if (init->useSoftSerial && (timerIndex == PWM5 || timerIndex == PWM6 || timerIndex == PWM7 || timerIndex == PWM8))
|
||||
continue;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CHEBUZZF3
|
||||
// skip softSerial ports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue