comparison 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
comparison
equal deleted inserted replaced
43:8c7b0ba1e5c4 44:5018fd8eecce
1 /*
2 * This module contains the common code for
3 * fc-rfcal-gmagic and fc-rfcal-rxband.
4 */
5
6 #include <stdio.h>
7 #include <stdlib.h>
8 #include <string.h>
9 #include <strings.h>
10 #include <rvinterf/l1tm.h>
11 #include <rvinterf/exitcodes.h>
12 #include "rxcaldefs.h"
13
14 l1tm_setup_for_rxcal()
15 {
16 do_rxpw(RX_AGC_ENA_FLAG, 0);
17 do_rxpw(RX_AGC_GAIN, RXCAL_AGC_DB);
18 do_rfpw(AFC_ENA_FLAG, 0);
19 /* scw settings to be added */
20 return(0);
21 }