FreeCalypso > hg > fc-rfcal-tools
diff autocal/txlevels.c @ 84:a2d4cab0a592
fc-rfcal-txband: works after a couple of bugfixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 15 Jul 2017 23:57:56 +0000 |
parents | 45ef4a06edfc |
children | b0618796d28d |
line wrap: on
line diff
--- a/autocal/txlevels.c Sat Jul 15 23:09:46 2017 +0000 +++ b/autocal/txlevels.c Sat Jul 15 23:57:56 2017 +0000 @@ -47,7 +47,7 @@ for (plnum = txcal_band->start_plnum; plnum <= txcal_band->end_plnum; plnum++) { do_txpw(TX_PWR_LEVEL, plnum); - plidx = plnum = txcal_band->start_plnum; + plidx = plnum - txcal_band->start_plnum; target = tx_levels[plidx].target; apc = find_apc_for_target(target, &tx_levels[plidx].slope); tx_levels[plidx].apc = apc;