FreeCalypso > hg > fc-rfcal-tools
diff autocal/rxcommon.c @ 45:98abe6bd2042
autocal: scw implemented for Rx cal
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 27 May 2017 05:48:04 +0000 |
parents | 5018fd8eecce |
children | 751f8d9efed0 |
line wrap: on
line diff
--- a/autocal/rxcommon.c Sat May 27 05:33:42 2017 +0000 +++ b/autocal/rxcommon.c Sat May 27 05:48:04 2017 +0000 @@ -5,8 +5,6 @@ #include <stdio.h> #include <stdlib.h> -#include <string.h> -#include <strings.h> #include <rvinterf/l1tm.h> #include <rvinterf/exitcodes.h> #include "rxcaldefs.h" @@ -16,6 +14,10 @@ do_rxpw(RX_AGC_ENA_FLAG, 0); do_rxpw(RX_AGC_GAIN, RXCAL_AGC_DB); do_rfpw(AFC_ENA_FLAG, 0); - /* scw settings to be added */ + do_scw(LOOPS, RXCAL_LOOP_COUNT); + do_scw(AUTO_RESULT_LOOPS, RXCAL_LOOP_COUNT); + do_scw(AUTO_RESET_LOOPS, RXCAL_LOOP_COUNT); + do_scw(STAT_TYPE, ACCUMULATED_RX_STATS); + do_scw(STAT_BITMASK, DSP_PM); return(0); }