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/399
pull/412/head
Michael Black W9MDB 2020-10-06 16:35:45 -05:00
rodzic 0afe35ecc6
commit 7f293e23df
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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)
{