FreeCalypso > hg > fc-rfcal-tools
diff autocal/rxcommon.c @ 44:5018fd8eecce
autocal: started Rx cal core code
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 27 May 2017 05:33:42 +0000 |
parents | |
children | 98abe6bd2042 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/autocal/rxcommon.c Sat May 27 05:33:42 2017 +0000 @@ -0,0 +1,21 @@ +/* + * This module contains the common code for + * fc-rfcal-gmagic and fc-rfcal-rxband. + */ + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <strings.h> +#include <rvinterf/l1tm.h> +#include <rvinterf/exitcodes.h> +#include "rxcaldefs.h" + +l1tm_setup_for_rxcal() +{ + 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 */ + return(0); +}