1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Add RunCam Device Protocol Support(DisplayPort, DeviceSetting Access, 5 key osd cable simulation)

This commit is contained in:
allenyan 2017-09-28 22:27:33 +08:00 committed by azol
parent 3942536012
commit 4df1084d1d
23 changed files with 3242 additions and 627 deletions

View file

@ -86,6 +86,7 @@
#include "io/beeper.h"
#include "io/displayport_max7456.h"
#include "io/displayport_rcdevice.h"
#include "io/serial.h"
#include "io/flashfs.h"
#include "io/gps.h"
@ -126,7 +127,7 @@
#include "flight/pid.h"
#include "flight/servos.h"
#include "io/rcsplit.h"
#include "io/rcdevice_cam.h"
#ifdef USE_HARDWARE_REVISION_DETECTION
#include "hardware_revision.h"
@ -717,9 +718,9 @@ void init(void)
LED2_ON;
#endif
#ifdef USE_RCSPLIT
rcSplitInit();
#endif // USE_RCSPLIT
#ifdef USE_RCDEVICE
rcdeviceInit();
#endif // USE_RCDEVICE
// Latch active features AGAIN since some may be modified by init().
latchActiveFeatures();
@ -730,4 +731,4 @@ void init(void)
fcTasksInit();
systemState |= SYSTEM_STATE_READY;
}
}