Skip to content

Commit

Permalink
Merge pull request #599 from pavel-demin/develop
Browse files Browse the repository at this point in the history
set tx_level to a lower value in sdr-transceiver-hpsdr.c and sdr-transceiver-emb.c
  • Loading branch information
pavel-demin authored Oct 10, 2017
2 parents 4694309 + ae03550 commit 892e9b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions projects/sdr_transceiver_emb/app/sdr-transceiver-emb.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ int main()
*dac_size = size;

/* set default dac level */
*dac_level = 32767;
*dac_level = 32766;

/* set default dac mux channel */
*(dac_mux + 16) = 0;
Expand Down Expand Up @@ -412,7 +412,7 @@ int main()
if(data > 1) continue;
ptt = data;
*gpio_out = data;
*tx_level = data ? 32767 : 0;
*tx_level = data ? 32110 : 0;
break;
case 9:
running = 0;
Expand Down
2 changes: 1 addition & 1 deletion projects/sdr_transceiver_emb/server/sdr-transceiver-emb.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int main(int argc, char *argv[])
*gpio = 0;

/* set default tx level */
*tx_level = 32766;
*tx_level = 32110;

/* set default tx mux channel */
*(tx_mux + 16) = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ int main(int argc, char *argv[])
*tx_size = size;

/* set default tx level */
*tx_level = 32766;
*tx_level = 32110;

/* set ps level */
*ps_level = 23080;
Expand Down

0 comments on commit 892e9b9

Please sign in to comment.