Add power level to ft991 and fix ft1200 table

https://github.com/Hamlib/Hamlib/issues/462
pull/468/head
Michael Black W9MDB 2020-12-11 16:38:02 -06:00
rodzic ff17dd0199
commit 7911fd1d4b
3 zmienionych plików z 22 dodań i 6 usunięć

Wyświetl plik

@ -76,13 +76,14 @@
// Borrowed from FLRig -- Thanks to Dave W1HKJ // Borrowed from FLRig -- Thanks to Dave W1HKJ
#define FTDX1200_RFPOWER_METER_CAL \ #define FTDX1200_RFPOWER_METER_CAL \
{ \ { \
5, \ 6, \
{ \ { \
{35, 5.0f}, \ {10, 0.8f}, \
{94, 25.0f}, \ {50, 8.0f}, \
{147, 50.0f}, \ {100, 26.0f}, \
{176, 75.0f}, \ {150, 54.0f}, \
{205, 100.0f}, \ {200, 92.0f}, \
{250, 140.0f}, \
} \ } \
} }

Wyświetl plik

@ -91,6 +91,7 @@ const struct rig_caps ft991_caps =
.transceive = RIG_TRN_OFF, /* May enable later as the 950 has an Auto Info command */ .transceive = RIG_TRN_OFF, /* May enable later as the 950 has an Auto Info command */
.bank_qty = 0, .bank_qty = 0,
.chan_desc_sz = 0, .chan_desc_sz = 0,
.rfpower_meter_cal = FT991_RFPOWER_METER_CAL,
.str_cal = FT991_STR_CAL, .str_cal = FT991_STR_CAL,
.chan_list = { .chan_list = {
{ 1, 99, RIG_MTYPE_MEM, NEWCAT_MEM_CAP }, { 1, 99, RIG_MTYPE_MEM, NEWCAT_MEM_CAP },

Wyświetl plik

@ -71,6 +71,20 @@
RIG_OP_UP|RIG_OP_DOWN|RIG_OP_BAND_UP|RIG_OP_BAND_DOWN|\ RIG_OP_UP|RIG_OP_DOWN|RIG_OP_BAND_UP|RIG_OP_BAND_DOWN|\
RIG_OP_TO_VFO|RIG_OP_FROM_VFO) RIG_OP_TO_VFO|RIG_OP_FROM_VFO)
// Borrowed from FLRig -- Thanks to Dave W1HKJ
#define FT991_RFPOWER_METER_CAL \
{ \
6, \
{ \
{10, 0.8f}, \
{50, 8.0f}, \
{100, 26.0f}, \
{150, 54.0f}, \
{200, 92.0f}, \
{250, 140.0f}, \
} \
}
/* TBC */ /* TBC */
#define FT991_STR_CAL { 16, \ #define FT991_STR_CAL { 16, \
{ \ { \