mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 05:45:31 +03:00
Missing define to activate TABLE_VIDEO_SYSTEM (#12200)
* Missing define to activate TABLE_VIDEO_SYSTEM * USE_PWM should only be for RX (parallell RX inputs), USE_PWM_OUTPUT is for all others. * Updated gate naming so there is less confusion * Simplified. Note there maybe further occurences.
This commit is contained in:
parent
5ce7c509a1
commit
d96586d505
14 changed files with 53 additions and 45 deletions
|
@ -563,12 +563,12 @@ void init(void)
|
|||
#endif
|
||||
|
||||
if (0) {}
|
||||
#if defined(USE_PPM)
|
||||
#if defined(USE_RX_PPM)
|
||||
else if (featureIsEnabled(FEATURE_RX_PPM)) {
|
||||
ppmRxInit(ppmConfig());
|
||||
}
|
||||
#endif
|
||||
#if defined(USE_PWM)
|
||||
#if defined(USE_RX_PWM)
|
||||
else if (featureIsEnabled(FEATURE_RX_PARALLEL_PWM)) {
|
||||
pwmRxInit(pwmConfig());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue