Fix RFPOWER levels for ftdx101

https://github.com/Hamlib/Hamlib/issues/462

(cherry picked from commit f60f9e0181)
Hamlib-4.0
Michael Black W9MDB 2020-12-11 12:25:01 -06:00 zatwierdzone przez Nate Bargmann
rodzic d2fa649026
commit 57d45dfca1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F72625E2EDBED598
2 zmienionych plików z 15 dodań i 3 usunięć

Wyświetl plik

@ -37,8 +37,6 @@
#include "newcat.h"
#include "ftdx101.h"
cal_table_float_t yaesu_ftdx101d_swr_cal = FTDX101D_SWR_CAL;
const struct newcat_priv_caps ftdx101d_priv_caps =
{
.roofing_filter_count = 6,
@ -78,7 +76,7 @@ const struct rig_caps ftdx101d_caps =
RIG_MODEL(RIG_MODEL_FTDX101D),
.model_name = "FTDX101D",
.mfg_name = "Yaesu",
.version = NEWCAT_VER ".6",
.version = NEWCAT_VER ".7",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER,
@ -119,6 +117,7 @@ const struct rig_caps ftdx101d_caps =
.transceive = RIG_TRN_OFF, /* May enable later as the FTDX101 has an Auto Info command */
.bank_qty = 0,
.chan_desc_sz = 0,
.rfpower_meter_cal = FTDX101D_RFPOWER_METER_CAL,
.swr_cal = FTDX101D_SWR_CAL,
.chan_list = {
{ 1, 99, RIG_MTYPE_MEM, NEWCAT_MEM_CAP },

Wyświetl plik

@ -71,6 +71,19 @@
RIG_OP_UP|RIG_OP_DOWN|RIG_OP_BAND_UP|RIG_OP_BAND_DOWN|\
RIG_OP_TO_VFO|RIG_OP_FROM_VFO|RIG_OP_TOGGLE)
// Borrowed from FLRig -- Thanks to Dave W
#define FTDX101D_RFPOWER_METER_CAL \
{ \
5, \
{ \
{35, 5.0f}, \
{94, 25.0f}, \
{147, 50.0f}, \
{176, 75.0f}, \
{205, 100.0f}, \
} \
}
// Based on testing with G3VPX Ian Sumner
#define FTDX101D_SWR_CAL \
{ \