diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 137b05088..d40c24f96 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -532,6 +532,15 @@ int newcat_open(RIG *rig) /* Initialize rig_id in case any subsequent commands need it */ (void)newcat_get_rigid(rig); + if (priv->rig_id == NC_RIGID_FT2000) + { // then we need to readjust rfpowermeter cal table in half + int i; + for(i=0;icaps->rfpower_meter_cal.size; ++i) + { // we may need a table for the FT2000 instead of this + rig->caps->rfpower_meter_cal.table[i].raw/=2; + } + } + return RIG_OK; } diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index 654e22951..bf7b1dcd8 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20201215" +#define NEWCAT_VER "20201216" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129