1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Merge pull request #4230 from martinbudden/bf_rc_split_tidy

RC Split tidy
This commit is contained in:
Martin Budden 2017-10-09 13:12:51 +01:00 committed by GitHub
commit 6e025aeba6
5 changed files with 47 additions and 76 deletions

View file

@ -714,6 +714,10 @@ void init(void)
LED2_ON;
#endif
#ifdef USE_RCSPLIT
rcSplitInit();
#endif // USE_RCSPLIT
// Latch active features AGAIN since some may be modified by init().
latchActiveFeatures();
pwmEnableMotors();
@ -726,9 +730,5 @@ void init(void)
fcTasksInit();
#endif
#ifdef USE_RCSPLIT
rcSplitInit();
#endif // USE_RCSPLIT
systemState |= SYSTEM_STATE_READY;
}