mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
WIP
This commit is contained in:
parent
03369a0038
commit
e39f03597e
5 changed files with 474 additions and 351 deletions
|
@ -204,10 +204,6 @@ typedef struct master_s {
|
|||
vtxChannelActivationCondition_t vtxChannelActivationConditions[MAX_CHANNEL_ACTIVATION_CONDITION_COUNT];
|
||||
#endif
|
||||
|
||||
#ifdef VTX_SMARTAUDIO
|
||||
uint8_t vtx_smartaudio_opmodel; // 0=FREE, 1=PIT
|
||||
#endif
|
||||
|
||||
#ifdef BLACKBOX
|
||||
uint8_t blackbox_rate_num;
|
||||
uint8_t blackbox_rate_denom;
|
||||
|
|
|
@ -744,10 +744,6 @@ void createDefaultConfig(master_t *config)
|
|||
config->vtx_mhz = 5740; //F0
|
||||
#endif
|
||||
|
||||
#ifdef VTX_SMARTAUDIO
|
||||
config->vtx_smartaudio_opmodel = 1; // PIT
|
||||
#endif
|
||||
|
||||
#ifdef TRANSPONDER
|
||||
static const uint8_t defaultTransponderData[6] = { 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC }; // Note, this is NOT a valid transponder code, it's just for testing production hardware
|
||||
|
||||
|
|
|
@ -932,10 +932,6 @@ const clivalue_t valueTable[] = {
|
|||
{ "vtx_mhz", VAR_UINT16 | MASTER_VALUE, &masterConfig.vtx_mhz, .config.minmax = { 5600, 5950 } },
|
||||
#endif
|
||||
|
||||
#ifdef VTX_SMARTAUDIO
|
||||
{ "vtx_smartaudio_opmodel", VAR_UINT8 | MASTER_VALUE, &masterConfig.vtx_smartaudio_opmodel, .config.minmax = { 0, 1 } },
|
||||
#endif
|
||||
|
||||
#ifdef MAG
|
||||
{ "magzero_x", VAR_INT16 | MASTER_VALUE, &masterConfig.magZero.raw[X], .config.minmax = { -32768, 32767 } },
|
||||
{ "magzero_y", VAR_INT16 | MASTER_VALUE, &masterConfig.magZero.raw[Y], .config.minmax = { -32768, 32767 } },
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -4,6 +4,7 @@
|
|||
bool smartAudioInit();
|
||||
void smartAudioProcess(uint32_t);
|
||||
|
||||
#if 0
|
||||
#ifdef CMS
|
||||
|
||||
uint16_t smartAudioSmartbaud;
|
||||
|
@ -13,8 +14,6 @@ uint16_t saerr_badlen;
|
|||
uint16_t saerr_crcerr;
|
||||
uint16_t saerr_oooresp;
|
||||
|
||||
char smartAudioStatusString[31];
|
||||
|
||||
uint8_t smartAudioOpModel;
|
||||
uint8_t smartAudioStatus;
|
||||
uint8_t smartAudioBand;
|
||||
|
@ -33,3 +32,4 @@ long smartAudioConfigurePowerByGvar(displayPort_t *, const void *self);
|
|||
long smartAudioSetTxModeByGvar(displayPort_t *, const void *self);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue