1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

Separate resources for SOFTSERIAL_TX & SOFTSERIAL_RX (#11786)

* Addressed review comments

* Unify USE_SOFTSERIAL

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
This commit is contained in:
Andrey Mironov 2023-06-18 03:25:01 +03:00 committed by GitHub
parent d1eb214332
commit a98364fa55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 35 additions and 70 deletions

View file

@ -666,7 +666,7 @@ static bool mspCommonProcessOutCommand(int16_t cmdMSP, sbuf_t *dst, mspPostProce
#ifdef USE_VCP
targetCapabilities |= BIT(TARGET_HAS_VCP);
#endif
#if defined(USE_SOFTSERIAL1) || defined(USE_SOFTSERIAL2)
#if defined(USE_SOFTSERIAL)
targetCapabilities |= BIT(TARGET_HAS_SOFTSERIAL);
#endif
targetCapabilities |= BIT(TARGET_IS_UNIFIED);