1
0
Fork 0
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:
J Blackman 2023-01-16 15:50:57 +11:00 committed by GitHub
parent 5ce7c509a1
commit d96586d505
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 53 additions and 45 deletions

View file

@ -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());
}