mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
RC Split tidy
This commit is contained in:
parent
db8698d801
commit
9556c5b811
4 changed files with 27 additions and 47 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