Skip to content

Commit

Permalink
fix telemetry ducking for local rx KC1KCC
Browse files Browse the repository at this point in the history
  • Loading branch information
N4IRS committed Dec 7, 2019
1 parent 3e2e4f7 commit f827ffd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asterisk/apps/app_rpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -22134,6 +22134,7 @@ char tmpstr[300],lstr[MAXLINKLIST],lat[100],lon[100],elev[100];
if (who == myrpt->telechannel) /* if is telemetry conference output */
{
//ast_log(LOG_NOTICE,"node=%s %p %p %d %d\n",myrpt->name,who,myrpt->telechannel,myrpt->remrx,myrpt->noduck);
if(debug)ast_log(LOG_NOTICE,"node=%s %p %p %d %d %d\n",myrpt->name,who,myrpt->telechannel,myrpt->keyed,myrpt->remrx,myrpt->noduck);
f = ast_read(myrpt->telechannel);
if (!f)
{
Expand All @@ -22145,7 +22146,7 @@ char tmpstr[300],lstr[MAXLINKLIST],lat[100],lon[100],elev[100];
float gain;

//if(!myrpt->noduck&&(myrpt->rxchankeyed||myrpt->remrx)) /* This is for when/if simple voter is implemented. It replaces the line below it. */
if(!myrpt->noduck&&myrpt->remrx)
if(!myrpt->noduck&&(myrpt->keyed||myrpt->remrx))
gain = myrpt->p.telemduckgain;
else
gain = myrpt->p.telemnomgain;
Expand Down

0 comments on commit f827ffd

Please sign in to comment.