mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
Implemented Camera Control using Hardware and Software PWM
This commit is contained in:
parent
491ecba4ed
commit
cc358dc405
21 changed files with 399 additions and 22 deletions
|
@ -68,6 +68,7 @@
|
|||
#include "drivers/max7456.h"
|
||||
#include "drivers/vtx_rtc6705.h"
|
||||
#include "drivers/vtx_common.h"
|
||||
#include "drivers/camera_control.h"
|
||||
|
||||
#include "fc/config.h"
|
||||
#include "fc/fc_init.h"
|
||||
|
@ -469,6 +470,10 @@ void init(void)
|
|||
rtc6705IOInit();
|
||||
#endif
|
||||
|
||||
#ifdef CAMERA_CONTROL
|
||||
cameraControlInit();
|
||||
#endif
|
||||
|
||||
#if defined(SONAR_SOFTSERIAL2_EXCLUSIVE) && defined(SONAR) && defined(USE_SOFTSERIAL2)
|
||||
if (feature(FEATURE_SONAR) && feature(FEATURE_SOFTSERIAL)) {
|
||||
serialRemovePort(SERIAL_PORT_SOFTSERIAL2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue