mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 09:45:33 +03:00
Generic RCDevice support first submission
This commit is contained in:
parent
b3b7fece42
commit
51ab2adc74
19 changed files with 2430 additions and 711 deletions
|
@ -101,7 +101,7 @@
|
|||
#include "io/ledstrip.h"
|
||||
#include "io/pwmdriver_i2c.h"
|
||||
#include "io/osd.h"
|
||||
#include "io/rcsplit.h"
|
||||
#include "io/rcdevice_cam.h"
|
||||
#include "io/serial.h"
|
||||
#include "io/displayport_msp.h"
|
||||
#include "io/vtx_control.h"
|
||||
|
@ -674,16 +674,15 @@ void init(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_RCDEVICE
|
||||
rcdeviceInit();
|
||||
#endif // USE_RCDEVICE
|
||||
|
||||
// Latch active features AGAIN since some may be modified by init().
|
||||
latchActiveFeatures();
|
||||
motorControlEnable = true;
|
||||
|
||||
fcTasksInit();
|
||||
|
||||
#ifdef USE_RCSPLIT
|
||||
rcSplitInit();
|
||||
#endif // USE_RCSPLIT
|
||||
|
||||
addBootlogEvent2(BOOT_EVENT_SYSTEM_READY, BOOT_EVENT_FLAGS_NONE);
|
||||
systemState |= SYSTEM_STATE_READY;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue