mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +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
|
@ -77,6 +77,7 @@ extern uint8_t __config_end;
|
|||
#include "drivers/timer.h"
|
||||
#include "drivers/vcd.h"
|
||||
#include "drivers/light_led.h"
|
||||
#include "drivers/camera_control.h"
|
||||
|
||||
#include "fc/settings.h"
|
||||
#include "fc/cli.h"
|
||||
|
@ -2864,6 +2865,9 @@ const cliResourceValue_t resourceTable[] = {
|
|||
#ifdef USE_ESCSERIAL
|
||||
{ OWNER_ESCSERIAL, PG_ESCSERIAL_CONFIG, offsetof(escSerialConfig_t, ioTag), 0 },
|
||||
#endif
|
||||
#ifdef CAMERA_CONTROL
|
||||
{ OWNER_CAMERA_CONTROL, PG_CAMERA_CONTROL_CONFIG, offsetof(cameraControlConfig_t, ioTag), 0 },
|
||||
#endif
|
||||
};
|
||||
|
||||
static ioTag_t *getIoTag(const cliResourceValue_t value, uint8_t index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue