mirror of https://github.com/ArduPilot/ardupilot
AP_VideoTX:add additional freq bands(RushFPV 3.3GHz)
This commit is contained in:
parent
0ec7505e64
commit
c854830702
|
@ -51,7 +51,7 @@ const AP_Param::GroupInfo AP_VideoTX::var_info[] = {
|
|||
// @DisplayName: Video Transmitter Band
|
||||
// @Description: Video Transmitter Band
|
||||
// @User: Standard
|
||||
// @Values: 0:Band A,1:Band B,2:Band E,3:Airwave,4:RaceBand,5:Low RaceBand,6:1G3 Band A,7:1G3 Band B,8:Band X
|
||||
// @Values: 0:Band A,1:Band B,2:Band E,3:Airwave,4:RaceBand,5:Low RaceBand,6:1G3 Band A,7:1G3 Band B,8:Band X,9:3G3 Band A,10:3G3 Band B
|
||||
AP_GROUPINFO("BAND", 4, AP_VideoTX, _band, 0),
|
||||
|
||||
// @Param: FREQ
|
||||
|
@ -87,7 +87,7 @@ const AP_Param::GroupInfo AP_VideoTX::var_info[] = {
|
|||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
const char * AP_VideoTX::band_names[] = {"A","B","E","F","R","L","1G3_A","1G3_B","X"};
|
||||
const char * AP_VideoTX::band_names[] = {"A","B","E","F","R","L","1G3_A","1G3_B","X","3G3_A","3G3_B"};
|
||||
|
||||
const uint16_t AP_VideoTX::VIDEO_CHANNELS[AP_VideoTX::MAX_BANDS][VTX_MAX_CHANNELS] =
|
||||
{
|
||||
|
@ -99,7 +99,9 @@ const uint16_t AP_VideoTX::VIDEO_CHANNELS[AP_VideoTX::MAX_BANDS][VTX_MAX_CHANNEL
|
|||
{ 5621, 5584, 5547, 5510, 5473, 5436, 5399, 5362}, /* LO Race */
|
||||
{ 1080, 1120, 1160, 1200, 1240, 1280, 1320, 1360}, /* Band 1G3_A */
|
||||
{ 1080, 1120, 1160, 1200, 1258, 1280, 1320, 1360}, /* Band 1G3_B */
|
||||
{ 4990, 5020, 5050, 5080, 5110, 5140, 5170, 5200} /* Band X */
|
||||
{ 4990, 5020, 5050, 5080, 5110, 5140, 5170, 5200}, /* Band X */
|
||||
{ 3330, 3350, 3370, 3390, 3410, 3430, 3450, 3470}, /* Band 3G3_A */
|
||||
{ 3170, 3190, 3210, 3230, 3250, 3270, 3290, 3310} /* Band 3G3_B */
|
||||
};
|
||||
|
||||
// mapping of power level to milliwatt to dbm
|
||||
|
|
|
@ -65,6 +65,8 @@ public:
|
|||
BAND_1G3_A,
|
||||
BAND_1G3_B,
|
||||
BAND_X,
|
||||
BAND_3G3_A,
|
||||
BAND_3G3_B,
|
||||
MAX_BANDS
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue