mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Merge branch 'port-changes' of https://github.com/ledvinap/cleanflight into ledvinap-port-changes
Conflicts: src/main/blackbox/blackbox.c src/main/io/serial.c
This commit is contained in:
commit
bce6c6722c
25 changed files with 162 additions and 89 deletions
|
@ -720,16 +720,12 @@ void validateAndFixConfig(void)
|
|||
|
||||
#if defined(LED_STRIP) && (defined(USE_SOFTSERIAL1) || defined(USE_SOFTSERIAL2))
|
||||
if (feature(FEATURE_SOFTSERIAL) && (
|
||||
0
|
||||
#ifdef USE_SOFTSERIAL1
|
||||
(LED_STRIP_TIMER == SOFTSERIAL_1_TIMER)
|
||||
#else
|
||||
0
|
||||
|| (LED_STRIP_TIMER == SOFTSERIAL_1_TIMER)
|
||||
#endif
|
||||
||
|
||||
#ifdef USE_SOFTSERIAL2
|
||||
(LED_STRIP_TIMER == SOFTSERIAL_2_TIMER)
|
||||
#else
|
||||
0
|
||||
|| (LED_STRIP_TIMER == SOFTSERIAL_2_TIMER)
|
||||
#endif
|
||||
)) {
|
||||
// led strip needs the same timer as softserial
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue