mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
Merge branch 'master' into bfdev-configurable-spi-phase-1
This commit is contained in:
commit
ac668e2c6d
140 changed files with 2042 additions and 1098 deletions
|
@ -124,6 +124,7 @@
|
|||
#include "flight/pid.h"
|
||||
#include "flight/servos.h"
|
||||
|
||||
#include "io/rcsplit.h"
|
||||
|
||||
#ifdef USE_HARDWARE_REVISION_DETECTION
|
||||
#include "hardware_revision.h"
|
||||
|
@ -278,7 +279,9 @@ void init(void)
|
|||
targetPreInit();
|
||||
#endif
|
||||
|
||||
#if !defined(UNIT_TEST) && !defined(USE_FAKE_LED)
|
||||
ledInit(statusLedConfig());
|
||||
#endif
|
||||
LED2_ON;
|
||||
|
||||
#ifdef USE_EXTI
|
||||
|
@ -694,5 +697,10 @@ void init(void)
|
|||
#else
|
||||
fcTasksInit();
|
||||
#endif
|
||||
|
||||
#ifdef USE_RCSPLIT
|
||||
rcSplitInit();
|
||||
#endif // USE_RCSPLIT
|
||||
|
||||
systemState |= SYSTEM_STATE_READY;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue