FreeCalypso > hg > fc-rfcal-tools
changeset 124:9f09a7c3607a
fc-rfcal-txband: level error tolerance tightened to 0.75 dB
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 12 Jan 2019 20:15:17 +0000 |
parents | 7302bc0bdd18 |
children | 306da04b3be2 |
files | autocal/txlevels.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/autocal/txlevels.c Wed Feb 14 05:23:22 2018 +0000 +++ b/autocal/txlevels.c Sat Jan 12 20:15:17 2019 +0000 @@ -66,7 +66,7 @@ if (isnan(meas)) nanflag = 1; error = meas - target; - if (error < -2.0 || error > 2.0) + if (error < -0.75 || error > 0.75) errflag = 1; printf( "Tx power level #%u: target %.1f dBm, APC=%u, meas %.2f dBm (%+.2f)\n", @@ -80,7 +80,7 @@ exit(ERROR_RFFAIL); } if (errflag) { - printf("Error: Tx power off by more than 2 dBm, aborting\n"); + printf("Error: Tx power off by more than 0.75 dB, aborting\n"); exit(ERROR_RFFAIL); } return(0);