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:
commit
6e025aeba6
5 changed files with 47 additions and 76 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue