kopia lustrzana https://github.com/Hamlib/Hamlib
Add debug for ft857 pometer reading
rodzic
88d58752ea
commit
e332b62e7d
|
@ -790,8 +790,9 @@ static int ft857_get_pometer_level(RIG *rig, value_t *val)
|
||||||
/* Valid only if PTT is on */
|
/* Valid only if PTT is on */
|
||||||
if ((p->tx_status & 0x80) == 0)
|
if ((p->tx_status & 0x80) == 0)
|
||||||
{
|
{
|
||||||
|
rig_debug(RIG_DEBUG_TRACE,"%s: bars=%d\n", __func__, p->tx_status & 0x0F);
|
||||||
// does rig have 10 bars or 15?
|
// does rig have 10 bars or 15?
|
||||||
val->i = p->tx_status & 0x0F) / 10.0;
|
val->i = (p->tx_status & 0x0F) / 10.0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue