kopia lustrzana https://github.com/Hamlib/Hamlib
Keep TS-950 minimum power level to 5W -- based on testing.
< 5W setting either ends up 5W or gives an error for PC000 and PC001 https://github.com/Hamlib/Hamlib/issues/399pull/412/head
rodzic
0afe35ecc6
commit
7f293e23df
|
@ -2259,6 +2259,7 @@ static int kenwood_get_power_minmax(RIG *rig, int *power_now, int *power_min,
|
|||
int n;
|
||||
struct rig_state *rs = &rig->state;
|
||||
|
||||
if (RIG_IS_TS950S) cmd = "PC;PC005;PC;PC255;PC;PC005;";
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: called\n", __func__);
|
||||
retval = write_block(&rs->rigport, cmd, strlen(cmd));
|
||||
|
||||
|
@ -2283,6 +2284,7 @@ static int kenwood_get_power_minmax(RIG *rig, int *power_now, int *power_min,
|
|||
levelbuf);
|
||||
return -RIG_EPROTO;
|
||||
}
|
||||
if (RIG_IS_TS950S) *power_min = 5;
|
||||
|
||||
if (restore)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue