1
0
Fork 0
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:
Martin Budden 2017-09-25 05:55:46 +01:00
parent db8698d801
commit 9556c5b811
4 changed files with 27 additions and 47 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;
}