kopia lustrzana https://github.com/Hamlib/Hamlib
Make simulator match the Real World(TM)
Add missing P4 Repair RIG_LEVEL_STRENGTHpull/1498/head
rodzic
4fe6ea7cc4
commit
35e49ffdfc
|
@ -312,18 +312,18 @@ int kenwood_ts890_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
|||
}
|
||||
};
|
||||
/* Find out which meter type is in use */
|
||||
retval = kenwood_safe_transaction(rig, "EX00011", ackbuf, sizeof(ackbuf), 10);
|
||||
retval = kenwood_safe_transaction(rig, "EX00011", ackbuf, sizeof(ackbuf), 11);
|
||||
|
||||
if (retval != RIG_OK)
|
||||
{
|
||||
return retval;
|
||||
}
|
||||
|
||||
if (strncmp(ackbuf + 7, "000", 3) == 0)
|
||||
if (strncmp(ackbuf + 8, "000", 3) == 0)
|
||||
{
|
||||
table = &meter_type1;
|
||||
}
|
||||
else if (strncmp(ackbuf + 7, "001", 3) == 0)
|
||||
else if (strncmp(ackbuf + 8, "001", 3) == 0)
|
||||
{
|
||||
table = &meter_type2;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue