1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-19 14:25:13 +03:00

Add support for the new VTX settings API

When a controllable VTX is configured, a new section appears in
the configuration tab which allows the user to set the band, channel
power and "low power on disarm" option.
This commit is contained in:
Alberto García Hierro 2018-06-20 15:21:40 +01:00
parent ba45e316e3
commit 6da922919f
8 changed files with 229 additions and 2 deletions

View file

@ -39,6 +39,7 @@ var CONFIG,
RX_CONFIG,
FAILSAFE_CONFIG,
RXFAIL_CONFIG,
VTX_CONFIG,
ADVANCED_CONFIG,
INAV_PID_CONFIG,
PID_ADVANCED,
@ -296,6 +297,15 @@ var FC = {
capacity_unit: 0
};
VTX_CONFIG = {
device_type: VTXDEV_UNKNOWN,
band: 0,
channel: 1,
power: 0,
pitmode: 0,
low_power_disarm: 0,
};
ADVANCED_CONFIG = {
gyroSyncDenominator: null,
pidProcessDenom: null,