comparison autocal/gmagicmain.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 8c7b0ba1e5c4
children d309241fcae3
comparison
equal deleted inserted replaced
43:8c7b0ba1e5c4 44:5018fd8eecce
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <string.h> 7 #include <string.h>
8 #include <strings.h> 8 #include <strings.h>
9 #include <rvinterf/l1tm.h> 9 #include <rvinterf/l1tm.h>
10 #include <rvinterf/exitcodes.h> 10 #include <rvinterf/exitcodes.h>
11 #include "rxcaldefs.h"
11 #include "stdband.h" 12 #include "stdband.h"
12 13
13 static struct band { 14 static struct band {
14 char *name; 15 char *name;
15 unsigned rfpw_std_band; 16 unsigned rfpw_std_band;
71 prepare_rf_test_system(); 72 prepare_rf_test_system();
72 73
73 printf("Putting the DUT into Test Mode\n"); 74 printf("Putting the DUT into Test Mode\n");
74 do_tms(1); 75 do_tms(1);
75 do_rfpw(STD_BAND_FLAG, selected_band->rfpw_std_band); 76 do_rfpw(STD_BAND_FLAG, selected_band->rfpw_std_band);
77 l1tm_setup_for_rxcal();
76 78
77 79
78 } 80 }