mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
PG CLI additions 5
This commit is contained in:
parent
bef5a08d8a
commit
1e529a96b9
8 changed files with 212 additions and 113 deletions
|
@ -21,11 +21,6 @@
|
|||
|
||||
#ifdef VTX
|
||||
|
||||
// Own interfaces
|
||||
#include "io/vtx.h"
|
||||
#include "io/osd.h"
|
||||
|
||||
//External dependencies
|
||||
#include "common/maths.h"
|
||||
|
||||
#include "config/config_eeprom.h"
|
||||
|
@ -37,8 +32,19 @@
|
|||
#include "fc/runtime_config.h"
|
||||
|
||||
#include "io/beeper.h"
|
||||
#include "io/osd.h"
|
||||
#include "io/vtx.h"
|
||||
|
||||
|
||||
PG_REGISTER_WITH_RESET_TEMPLATE(vtxConfig_t, vtxConfig, PG_VTX_CONFIG, 0);
|
||||
|
||||
PG_RESET_TEMPLATE(vtxConfig_t, vtxConfig,
|
||||
.vtx_band = 4, //Fatshark/Airwaves
|
||||
.vtx_channel = 1, //CH1
|
||||
.vtx_mode = 0, //CH+BAND mode
|
||||
.vtx_mhz = 5740 //F0
|
||||
);
|
||||
|
||||
static uint8_t locked = 0;
|
||||
|
||||
void vtxInit(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue